Table of Contents

Class ClrPropertyGetter<TEntity, TStructuralType, TValue>

Namespace
Microsoft.EntityFrameworkCore.Metadata.Internal
Assembly
Microsoft.EntityFrameworkCore.dll

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public sealed class ClrPropertyGetter<TEntity, TStructuralType, TValue> : IClrPropertyGetter where TEntity : class

Type Parameters

TEntity
TStructuralType
TValue
Inheritance
ClrPropertyGetter<TEntity, TStructuralType, TValue>
Implements
Inherited Members

Constructors

ClrPropertyGetter(Func<TEntity, TValue>, Func<TEntity, bool>, Func<TStructuralType, TValue>, Func<TStructuralType, bool>)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public ClrPropertyGetter(Func<TEntity, TValue> getter, Func<TEntity, bool> hasSentinelValue, Func<TStructuralType, TValue> structuralTypeGetter, Func<TStructuralType, bool> hasStructuralTypeSentinelValue)

Parameters

getter Func<TEntity, TValue>
hasSentinelValue Func<TEntity, bool>
structuralTypeGetter Func<TStructuralType, TValue>
hasStructuralTypeSentinelValue Func<TStructuralType, bool>

Methods

GetClrValue(object)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public object? GetClrValue(object structuralObject)

Parameters

structuralObject object

Returns

object

GetClrValueUsingContainingEntity(object)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public object? GetClrValueUsingContainingEntity(object entity)

Parameters

entity object

Returns

object

HasSentinel(object)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public bool HasSentinel(object structuralObject)

Parameters

structuralObject object

Returns

bool

HasSentinelUsingContainingEntity(object)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public bool HasSentinelUsingContainingEntity(object entity)

Parameters

entity object

Returns

bool