CoreStrings.OriginalValueNotTracked(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 original value for property '{1_entityType}.{0_property}' cannot be accessed because it is not being tracked. Original values are not recorded for most properties of entities when the 'ChangingAndChangedNotifications' strategy is used. To access all original values, use a different change tracking strategy such as 'ChangingAndChangedNotificationsWithOriginalValues'.
public static string OriginalValueNotTracked (object property, object entityType);
public static string OriginalValueNotTracked (object? property, object? entityType);
static member OriginalValueNotTracked : obj * obj -> string
Public Shared Function OriginalValueNotTracked (property As Object, entityType As Object) As String
Parameters
- property
- Object
- entityType
- Object
Returns
Applies to
Entity Framework