Table of Contents

Class SnapshotFactoryFactory

Namespace
Microsoft.EntityFrameworkCore.ChangeTracking.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 abstract class SnapshotFactoryFactory
Inheritance
SnapshotFactoryFactory
Derived
Inherited Members

Constructors

SnapshotFactoryFactory()

protected SnapshotFactoryFactory()

Properties

UseEntityVariable

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.

protected virtual bool UseEntityVariable { get; }

Property Value

bool

Methods

CreateConstructorExpression(IRuntimeEntityType, ParameterExpression?)

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.

protected virtual Expression CreateConstructorExpression(IRuntimeEntityType entityType, ParameterExpression? parameter)

Parameters

entityType IRuntimeEntityType
parameter ParameterExpression

Returns

Expression

CreateEmpty(IRuntimeEntityType)

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 virtual Func<ISnapshot> CreateEmpty(IRuntimeEntityType entityType)

Parameters

entityType IRuntimeEntityType

Returns

Func<ISnapshot>

CreateReadShadowValueExpression(ParameterExpression?, IPropertyBase)

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.

protected virtual Expression CreateReadShadowValueExpression(ParameterExpression? parameter, IPropertyBase property)

Parameters

parameter ParameterExpression
property IPropertyBase

Returns

Expression

CreateReadValueExpression(ParameterExpression?, IPropertyBase)

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.

protected virtual Expression CreateReadValueExpression(ParameterExpression? parameter, IPropertyBase property)

Parameters

parameter ParameterExpression
property IPropertyBase

Returns

Expression

CreateSnapshotExpression(Type?, ParameterExpression?, Type[], IList<IPropertyBase?>)

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.

protected virtual Expression CreateSnapshotExpression(Type? entityType, ParameterExpression? parameter, Type[] types, IList<IPropertyBase?> propertyBases)

Parameters

entityType Type
parameter ParameterExpression
types Type[]
propertyBases IList<IPropertyBase>

Returns

Expression

GetPropertyCount(IRuntimeEntityType)

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.

protected abstract int GetPropertyCount(IRuntimeEntityType entityType)

Parameters

entityType IRuntimeEntityType

Returns

int

GetPropertyIndex(IPropertyBase)

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.

protected abstract int GetPropertyIndex(IPropertyBase propertyBase)

Parameters

propertyBase IPropertyBase

Returns

int

GetValueComparer(IProperty)

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.

protected abstract ValueComparer? GetValueComparer(IProperty property)

Parameters

property IProperty

Returns

ValueComparer