PropertyExtensions.CreateKeyEqualityComparer<TProperty> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an IEqualityComparer<T> for values of the given property type.
public static System.Collections.Generic.IEqualityComparer<TProperty> CreateKeyEqualityComparer<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member CreateKeyEqualityComparer : Microsoft.EntityFrameworkCore.Metadata.IProperty -> System.Collections.Generic.IEqualityComparer<'Property>
<Extension()>
Public Function CreateKeyEqualityComparer(Of TProperty) (property As IProperty) As IEqualityComparer(Of TProperty)
Type Parameters
- TProperty
The property type.
Parameters
- property
- IProperty
The property.
Returns
IEqualityComparer<TProperty>
A new equality comparer.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework