Share via


RelationalStrings.ModificationCommandInvalidEntityState Method

Definition

Overloads

Name Description
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, file an issue at https://aka.ms/efcorefeedback. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the key values of the entity.

ModificationCommandInvalidEntityState(Object)

Source:
RelationalStrings.Designer.cs
Source:
RelationalStrings.Designer.cs
Source:
RelationalStrings.Designer.cs

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)

Source:
RelationalStrings.Designer.cs
Source:
RelationalStrings.Designer.cs
Source:
RelationalStrings.Designer.cs
Source:
RelationalStrings.Designer.cs
Source:
RelationalStrings.Designer.cs

Cannot save changes for an entity of type '{entityType}' in state '{entityState}'. This may indicate a bug in Entity Framework, file an issue at https://aka.ms/efcorefeedback. 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