CoreStrings.TempValuePersists(Object, Object, Object) 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.
The property '{1_entityType}.{0_property}' has a temporary value while attempting to change the entity's state to '{state}'. Either set a permanent value explicitly, or ensure that the database is configured to generate values for this property.
public static string TempValuePersists (object property, object entityType, object state);
public static string TempValuePersists (object? property, object? entityType, object? state);
static member TempValuePersists : obj * obj * obj -> string
Public Shared Function TempValuePersists (property As Object, entityType As Object, state As Object) As String
Parameters
- property
- Object
- entityType
- Object
- state
- Object
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework