언어

AzureSynapseDbContextOptionsBuilder.UseCompatibilityLevel(Int32) 메서드

정의

EF Core가 데이터베이스와 상호 작용할 때 사용할 Azure Synapse 호환성 수준을 설정합니다. 이를 통해 이전(또는 최신) 버전의 Azure Synapse 사용할 수 있도록 EF Core를 구성할 수 있습니다. 기본값은 30입니다.

public virtual Microsoft.EntityFrameworkCore.Infrastructure.AzureSynapseDbContextOptionsBuilder UseCompatibilityLevel(int compatibilityLevel);
abstract member UseCompatibilityLevel : int -> Microsoft.EntityFrameworkCore.Infrastructure.AzureSynapseDbContextOptionsBuilder
override this.UseCompatibilityLevel : int -> Microsoft.EntityFrameworkCore.Infrastructure.AzureSynapseDbContextOptionsBuilder
Public Overridable Function UseCompatibilityLevel (compatibilityLevel As Integer) As AzureSynapseDbContextOptionsBuilder

매개 변수

compatibilityLevel
Int32

데이터베이스에 사용할 호환성 수준입니다.

반품

설명

자세한 내용 및 예제는 DbContextOptions 사용 및 호환성 수준에 대한 Azure Synapse 설명서를 참조하세요.

적용 대상