RelationalStrings.ModificationCommandInvalidEntityState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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}'. |
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
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