Class RowForeignKeyValueFactory<TKey, TForeignKey>
- Namespace
- Microsoft.EntityFrameworkCore.Update.Internal
- Assembly
- Microsoft.EntityFrameworkCore.Relational.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 RowForeignKeyValueFactory<TKey, TForeignKey> : IRowForeignKeyValueFactory<TKey>, IRowForeignKeyValueFactory
Type Parameters
TKeyTForeignKey
- Inheritance
-
RowForeignKeyValueFactory<TKey, TForeignKey>
- Implements
- Derived
- Inherited Members
Constructors
RowForeignKeyValueFactory(IForeignKeyConstraint, IColumn, ColumnAccessors, IValueConverterSelector)
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 RowForeignKeyValueFactory(IForeignKeyConstraint foreignKey, IColumn column, ColumnAccessors columnAccessors, IValueConverterSelector valueConverterSelector)
Parameters
foreignKeyIForeignKeyConstraintcolumnIColumncolumnAccessorsColumnAccessorsvalueConverterSelectorIValueConverterSelector
Properties
Column
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 IColumn Column { get; }
Property Value
ColumnAccessors
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 ColumnAccessors ColumnAccessors { get; }
Property Value
EqualityComparer
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 IEqualityComparer<TKey> EqualityComparer { get; }
Property Value
- IEqualityComparer<TKey>
Methods
CreateDependentEquatableKeyValue(IReadOnlyModificationCommand, 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 virtual object? CreateDependentEquatableKeyValue(IReadOnlyModificationCommand command, bool fromOriginalValues = false)
Parameters
commandIReadOnlyModificationCommandfromOriginalValuesbool
Returns
CreateDependentKeyValue(IReadOnlyModificationCommand, 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 virtual object[]? CreateDependentKeyValue(IReadOnlyModificationCommand command, bool fromOriginalValues = false)
Parameters
commandIReadOnlyModificationCommandfromOriginalValuesbool
Returns
- object[]
CreateKeyEqualityComparer(IColumn)
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 IEqualityComparer<TKey> CreateKeyEqualityComparer(IColumn column)
Parameters
columnIColumn
Returns
- IEqualityComparer<TKey>
CreatePrincipalEquatableKeyValue(IReadOnlyModificationCommand, 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 virtual object CreatePrincipalEquatableKeyValue(IReadOnlyModificationCommand command, bool fromOriginalValues = false)
Parameters
commandIReadOnlyModificationCommandfromOriginalValuesbool
Returns
CreatePrincipalKeyValue(IReadOnlyModificationCommand, 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 virtual object[] CreatePrincipalKeyValue(IReadOnlyModificationCommand command, bool fromOriginalValues = false)
Parameters
commandIReadOnlyModificationCommandfromOriginalValuesbool
Returns
- object[]
TryCreateDependentKeyValue(IReadOnlyModificationCommand, bool, out TKey?)
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 bool TryCreateDependentKeyValue(IReadOnlyModificationCommand command, bool fromOriginalValues, out TKey? key)
Parameters
commandIReadOnlyModificationCommandfromOriginalValuesboolkeyTKey
Returns
TryCreateDependentKeyValue(IDictionary<string, object?>, out TKey?)
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 bool TryCreateDependentKeyValue(IDictionary<string, object?> keyPropertyValues, out TKey? key)
Parameters
keyPropertyValuesIDictionary<string, object>keyTKey
Returns
TryCreateDependentKeyValue(object?[], out TKey?)
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 bool TryCreateDependentKeyValue(object?[] keyValues, out TKey? key)
Parameters
keyValuesobject[]keyTKey