RelationalStrings.ModificationCommandInvalidEntityState Method

Definition

Overloads

ModificationCommandInvalidEntityState(Object)

Cannot save changes for an entity in state '{entityState}'.

ModificationCommandInvalidEntityState(Object, Object)

Cannot save changes for an entity of type '{entityType}' in state '{entityState}'. This may indicate a bug in Entity Framework, please open an issue at https://go.microsoft.com/fwlink/?linkid=2142044. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the key values of the entity.

ModificationCommandInvalidEntityState(Object)

Cannot save changes for an entity in state '{entityState}'.

public static string ModificationCommandInvalidEntityState (object entityState);
static member ModificationCommandInvalidEntityState : obj -> string
Public Shared Function ModificationCommandInvalidEntityState (entityState As Object) As String

Parameters

entityState
Object

Returns

Applies to

ModificationCommandInvalidEntityState(Object, Object)

Cannot save changes for an entity of type '{entityType}' in state '{entityState}'. This may indicate a bug in Entity Framework, please open an issue at https://go.microsoft.com/fwlink/?linkid=2142044. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the key values of the entity.

public static string ModificationCommandInvalidEntityState (object? entityType, object? entityState);
static member ModificationCommandInvalidEntityState : obj * obj -> string
Public Shared Function ModificationCommandInvalidEntityState (entityType As Object, entityState As Object) As String

Parameters

entityType
Object
entityState
Object

Returns

Applies to