IUpdateEntry.GetCurrentValue 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
GetCurrentValue(IPropertyBase) |
Gets the value assigned to the property. |
GetCurrentValue<TProperty>(IPropertyBase) |
Gets the value assigned to the property. |
GetCurrentValue(IPropertyBase)
Gets the value assigned to the property.
public object GetCurrentValue (Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
public object? GetCurrentValue (Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
abstract member GetCurrentValue : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> obj
Public Function GetCurrentValue (propertyBase As IPropertyBase) As Object
Parameters
- propertyBase
- IPropertyBase
The property to get the value for.
Returns
The value for the property.
Applies to
GetCurrentValue<TProperty>(IPropertyBase)
Gets the value assigned to the property.
public TProperty GetCurrentValue<TProperty> (Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
abstract member GetCurrentValue : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> 'Property
Public Function GetCurrentValue(Of TProperty) (propertyBase As IPropertyBase) As TProperty
Type Parameters
- TProperty
The type of the property.
Parameters
- propertyBase
- IPropertyBase
The property to get the value for.
Returns
TProperty
The value for the property.
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