다음을 통해 공유


SqlServerEntityTypeMappingFragmentExtensions.UseSqlOutputClause 메서드

정의

오버로드

UseSqlOutputClause(IMutableEntityTypeMappingFragment, Nullable<Boolean>)

연결된 테이블에 변경 내용을 저장할 때 SQL OUTPUT 절을 사용할지 여부를 설정합니다. OUTPUT 절은 트리거가 있는 테이블과 같은 특정 SQL Server 기능과 호환되지 않습니다.

UseSqlOutputClause(IConventionEntityTypeMappingFragment, Nullable<Boolean>, Boolean)

연결된 테이블에 변경 내용을 저장할 때 SQL OUTPUT 절을 사용할지 여부를 설정합니다. OUTPUT 절은 트리거가 있는 테이블과 같은 특정 SQL Server 기능과 호환되지 않습니다.

UseSqlOutputClause(IMutableEntityTypeMappingFragment, Nullable<Boolean>)

연결된 테이블에 변경 내용을 저장할 때 SQL OUTPUT 절을 사용할지 여부를 설정합니다. OUTPUT 절은 트리거가 있는 테이블과 같은 특정 SQL Server 기능과 호환되지 않습니다.

public static void UseSqlOutputClause (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityTypeMappingFragment fragment, bool? useSqlOutputClause);
static member UseSqlOutputClause : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityTypeMappingFragment * Nullable<bool> -> unit
<Extension()>
Public Sub UseSqlOutputClause (fragment As IMutableEntityTypeMappingFragment, useSqlOutputClause As Nullable(Of Boolean))

매개 변수

fragment
IMutableEntityTypeMappingFragment

엔터티 형식 매핑 조각입니다.

useSqlOutputClause
Nullable<Boolean>

설정할 값입니다.

적용 대상

UseSqlOutputClause(IConventionEntityTypeMappingFragment, Nullable<Boolean>, Boolean)

연결된 테이블에 변경 내용을 저장할 때 SQL OUTPUT 절을 사용할지 여부를 설정합니다. OUTPUT 절은 트리거가 있는 테이블과 같은 특정 SQL Server 기능과 호환되지 않습니다.

public static bool? UseSqlOutputClause (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityTypeMappingFragment fragment, bool? useSqlOutputClause, bool fromDataAnnotation = false);
static member UseSqlOutputClause : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityTypeMappingFragment * Nullable<bool> * bool -> Nullable<bool>
<Extension()>
Public Function UseSqlOutputClause (fragment As IConventionEntityTypeMappingFragment, useSqlOutputClause As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)

매개 변수

fragment
IConventionEntityTypeMappingFragment

엔터티 형식 매핑 조각입니다.

useSqlOutputClause
Nullable<Boolean>

설정할 값입니다.

fromDataAnnotation
Boolean

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

반환

구성된 값입니다.

적용 대상