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
The value for the property.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for