Share via


PropertyValues.GetValue Method

Definition

Overloads

GetValue<TValue>(IProperty)

Gets the value of the property just like using the indexed property getter but typed to the type of the generic parameter.

GetValue<TValue>(String)

Gets the value of the property just like using the indexed property getter but typed to the type of the generic parameter.

GetValue<TValue>(IProperty)

Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs

Gets the value of the property just like using the indexed property getter but typed to the type of the generic parameter.

public abstract TValue GetValue<TValue> (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member GetValue : Microsoft.EntityFrameworkCore.Metadata.IProperty -> 'Value
Public MustOverride Function GetValue(Of TValue) (property As IProperty) As TValue

Type Parameters

TValue

The type of the property.

Parameters

property
IProperty

The property.

Returns

TValue

The value of the property.

Remarks

See Accessing tracked entities in EF Core for more information and examples.

Applies to

GetValue<TValue>(String)

Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs
Source:
PropertyValues.cs

Gets the value of the property just like using the indexed property getter but typed to the type of the generic parameter.

public abstract TValue GetValue<TValue> (string propertyName);
abstract member GetValue : string -> 'Value
Public MustOverride Function GetValue(Of TValue) (propertyName As String) As TValue

Type Parameters

TValue

The type of the property.

Parameters

propertyName
String

The property name.

Returns

TValue

The value of the property.

Remarks

See Accessing tracked entities in EF Core for more information and examples.

Applies to