Class SimpleNullablePrincipalDependentKeyValueFactory<TKey, TNonNullableKey>
- 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 class SimpleNullablePrincipalDependentKeyValueFactory<TKey, TNonNullableKey> : DependentKeyValueFactory<TKey>, IDependentKeyValueFactory<TKey>, IDependentKeyValueFactory where TKey : notnull where TNonNullableKey : struct
Type Parameters
TKey
TNonNullableKey
- Inheritance
-
DependentKeyValueFactory<TKey>SimpleNullablePrincipalDependentKeyValueFactory<TKey, TNonNullableKey>
- Implements
- Inherited Members
Constructors
SimpleNullablePrincipalDependentKeyValueFactory(IForeignKey, IPrincipalKeyValueFactory<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 SimpleNullablePrincipalDependentKeyValueFactory(IForeignKey foreignKey, IPrincipalKeyValueFactory<TKey> principalKeyValueFactory)
Parameters
foreignKey
IForeignKeyprincipalKeyValueFactory
IPrincipalKeyValueFactory<TKey>
Properties
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 override IEqualityComparer<TKey> EqualityComparer { get; }
Property Value
- IEqualityComparer<TKey>
Methods
TryCreateFromBuffer(in ValueBuffer, 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 virtual bool TryCreateFromBuffer(in ValueBuffer valueBuffer, out TKey? key)
Parameters
valueBuffer
ValueBufferkey
TKey
Returns
TryCreateFromCurrentValues(IUpdateEntry, 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 override bool TryCreateFromCurrentValues(IUpdateEntry entry, out TKey? key)
Parameters
entry
IUpdateEntrykey
TKey
Returns
TryCreateFromOriginalValues(IUpdateEntry, 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 override bool TryCreateFromOriginalValues(IUpdateEntry entry, out TKey? key)
Parameters
entry
IUpdateEntrykey
TKey
Returns
TryCreateFromPreStoreGeneratedCurrentValues(IUpdateEntry, 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 virtual bool TryCreateFromPreStoreGeneratedCurrentValues(IUpdateEntry entry, out TKey? key)
Parameters
entry
IUpdateEntrykey
TKey
Returns
TryCreateFromRelationshipSnapshot(IUpdateEntry, 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 virtual bool TryCreateFromRelationshipSnapshot(IUpdateEntry entry, out TKey? key)
Parameters
entry
IUpdateEntrykey
TKey