언어

SqlServerPropertyBuilderExtensions.HasIdentityColumnIncrement 메서드

정의

오버로드

속성 Description
HasIdentityColumnIncrement(IConventionPropertyBuilder, Nullable<Int32>, Boolean)

SQL SERVER IDENTITY에 대한 증분을 구성합니다.

HasIdentityColumnIncrement(IConventionPropertyBuilder, Nullable<Int32>, StoreObjectIdentifier, Boolean)

특정 테이블에 대한 SQL Server IDENTITY의 증분을 구성합니다.

HasIdentityColumnIncrement(IConventionPropertyBuilder, Nullable<Int32>, Boolean)

Source:
SqlServerPropertyBuilderExtensions.cs
Source:
SqlServerPropertyBuilderExtensions.cs
Source:
SqlServerPropertyBuilderExtensions.cs
Source:
SqlServerPropertyBuilderExtensions.cs
Source:
SqlServerPropertyBuilderExtensions.cs
Source:
SqlServerPropertyBuilderExtensions.cs
Source:
SqlServerPropertyBuilderExtensions.cs
Source:
SqlServerPropertyBuilderExtensions.cs
Source:
SqlServerPropertyBuilderExtensions.cs

SQL SERVER IDENTITY에 대한 증분을 구성합니다.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder? HasIdentityColumnIncrement(this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, int? increment, bool fromDataAnnotation = false);
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder HasIdentityColumnIncrement(this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, int? increment, bool fromDataAnnotation = false);
static member HasIdentityColumnIncrement : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Nullable<int> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder
<Extension()>
Public Function HasIdentityColumnIncrement (propertyBuilder As IConventionPropertyBuilder, increment As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As IConventionPropertyBuilder

매개 변수

propertyBuilder
IConventionPropertyBuilder

구성 중인 속성에 대한 작성기입니다.

increment
Nullable<Int32>

로드된 이전 행의 ID 값에 추가되는 증분 값입니다.

fromDataAnnotation
Boolean

데이터 주석을 사용하여 구성을 지정했는지 여부를 나타냅니다.

반품

구성이 적용된 경우 동일한 작성기 인스턴스가고, null 그렇지 않으면 동일한 작성기 인스턴스입니다.

설명

자세한 내용 및 예제는 엔터티 형식 및 관계 모델링 및 EF Core를 사용하여 SQL Server 및 Azure SQL 데이터베이스에 액세스하는 것을 참조하세요.

적용 대상

HasIdentityColumnIncrement(IConventionPropertyBuilder, Nullable<Int32>, StoreObjectIdentifier, Boolean)

Source:
SqlServerPropertyBuilderExtensions.cs
Source:
SqlServerPropertyBuilderExtensions.cs
Source:
SqlServerPropertyBuilderExtensions.cs
Source:
SqlServerPropertyBuilderExtensions.cs
Source:
SqlServerPropertyBuilderExtensions.cs

특정 테이블에 대한 SQL Server IDENTITY의 증분을 구성합니다.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder? HasIdentityColumnIncrement(this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, int? increment, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, bool fromDataAnnotation = false);
static member HasIdentityColumnIncrement : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Nullable<int> * StoreObjectIdentifier * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder
<Extension()>
Public Function HasIdentityColumnIncrement (propertyBuilder As IConventionPropertyBuilder, increment As Nullable(Of Integer), ByRef storeObject As StoreObjectIdentifier, Optional fromDataAnnotation As Boolean = false) As IConventionPropertyBuilder

매개 변수

propertyBuilder
IConventionPropertyBuilder

구성 중인 속성에 대한 작성기입니다.

increment
Nullable<Int32>

로드된 이전 행의 ID 값에 추가되는 증분 값입니다.

storeObject
StoreObjectIdentifier

테이블 식별자입니다.

fromDataAnnotation
Boolean

데이터 주석을 사용하여 구성을 지정했는지 여부를 나타냅니다.

반품

구성이 적용된 경우 동일한 작성기 인스턴스가고, null 그렇지 않으면 동일한 작성기 인스턴스입니다.

설명

자세한 내용 및 예제는 엔터티 형식 및 관계 모델링 및 EF Core를 사용하여 SQL Server 및 Azure SQL 데이터베이스에 액세스하는 것을 참조하세요.

적용 대상