PropertyState Struct
Assembly: PTS.EntityLayer.Events.dll
Syntax
public struct PropertyState
Constructors
PropertyState(IProperty, EntityEntry)
Declaration
public PropertyState(IProperty property, EntityEntry entry)
Parameters
Type |
Name |
Description |
Microsoft.EntityFrameworkCore.Metadata.IProperty |
property |
|
Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry |
entry |
|
Declaration
public PropertyState(IProperty property, object originalValue, object currentValue)
Parameters
Type |
Name |
Description |
Microsoft.EntityFrameworkCore.Metadata.IProperty |
property |
|
System.Object |
originalValue |
|
System.Object |
currentValue |
|
Fields
CurrentValue
Declaration
public object CurrentValue
Field Value
Type |
Description |
System.Object |
|
HasChanged
Declaration
Field Value
Type |
Description |
System.Boolean |
|
OriginalValue
Declaration
public object OriginalValue
Field Value
Type |
Description |
System.Object |
|
Property
Declaration
public IProperty Property
Field Value
Type |
Description |
Microsoft.EntityFrameworkCore.Metadata.IProperty |
|
Methods
GetCurrentValue<TValue>()
Declaration
public TValue GetCurrentValue<TValue>()
Returns
Type Parameters
GetOriginalValue<TValue>()
Declaration
public TValue GetOriginalValue<TValue>()
Returns
Type Parameters
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Extension Methods