다음을 통해 공유


PropertyExtensions.GetValueGeneratorFactory(IProperty) 메서드

정의

주의

Use IReadOnlyProperty.GetValueGeneratorFactory

이 속성에 대한 값을 생성하도록 설정된 팩터리를 가져옵니다(있는 경우).

public static Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.IEntityType,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator> GetValueGeneratorFactory (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Obsolete("Use IReadOnlyProperty.GetValueGeneratorFactory")]
public static Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.IEntityType,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>? GetValueGeneratorFactory (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetValueGeneratorFactory : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Metadata.IEntityType, Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>
[<System.Obsolete("Use IReadOnlyProperty.GetValueGeneratorFactory")>]
static member GetValueGeneratorFactory : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Metadata.IEntityType, Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>
<Extension()>
Public Function GetValueGeneratorFactory (property As IProperty) As Func(Of IProperty, IEntityType, ValueGenerator)

매개 변수

property
IProperty

값 생성기 팩터리를 가져올 속성입니다.

반환

팩터리 또는 null 팩터리를 설정하지 않은 경우 입니다.

특성

적용 대상