Class SimplePrincipalKeyValueFactory<TKey>
- 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 SimplePrincipalKeyValueFactory<TKey> : IPrincipalKeyValueFactory<TKey>, IPrincipalKeyValueFactory
Type Parameters
TKey
- Inheritance
-
SimplePrincipalKeyValueFactory<TKey>
- Implements
- Inherited Members
Constructors
SimplePrincipalKeyValueFactory(IKey)
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 SimplePrincipalKeyValueFactory(IKey key)
Parameters
key
IKey
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 virtual IEqualityComparer<TKey> EqualityComparer { get; }
Property Value
- IEqualityComparer<TKey>
Methods
CreateEquatableKey(IUpdateEntry, 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 CreateEquatableKey(IUpdateEntry entry, bool fromOriginalValues)
Parameters
entry
IUpdateEntryfromOriginalValues
bool
Returns
CreateFromBuffer(ValueBuffer)
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? CreateFromBuffer(ValueBuffer valueBuffer)
Parameters
valueBuffer
ValueBuffer
Returns
CreateFromCurrentValues(IUpdateEntry)
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 TKey CreateFromCurrentValues(IUpdateEntry entry)
Parameters
entry
IUpdateEntry
Returns
- TKey
CreateFromKeyValues(IReadOnlyList<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 virtual object? CreateFromKeyValues(IReadOnlyList<object?> keyValues)
Parameters
keyValues
IReadOnlyList<object>
Returns
CreateFromOriginalValues(IUpdateEntry)
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 TKey CreateFromOriginalValues(IUpdateEntry entry)
Parameters
entry
IUpdateEntry
Returns
- TKey
CreateFromRelationshipSnapshot(IUpdateEntry)
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 TKey CreateFromRelationshipSnapshot(IUpdateEntry entry)
Parameters
entry
IUpdateEntry
Returns
- TKey
FindNullPropertyInCurrentValues(IUpdateEntry)
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 IProperty FindNullPropertyInCurrentValues(IUpdateEntry entry)
Parameters
entry
IUpdateEntry
Returns
FindNullPropertyInKeyValues(IReadOnlyList<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 virtual IProperty FindNullPropertyInKeyValues(IReadOnlyList<object?> keyValues)
Parameters
keyValues
IReadOnlyList<object>