다음을 통해 공유


DataGenerationServices.PopulateDefaultMappings 메서드

출력 설명자 매핑에 사용할 수 있는 생성기의 제공된 목록을 사용하여 출력 설명자에 대한 데이터베이스 데이터 형식의 특정 기본 매핑의 선택 사항을 반환합니다. 출력 설명자에 대한 데이터베이스 데이터 형식의 특정 기본 매핑과 출력 설명자에 대한 확장된 데이터베이스 데이터 형식의 기본 매핑의 선택 사항을 반환합니다.

네임스페이스:  Microsoft.Data.Schema.Tools.DataGenerator
어셈블리:  Microsoft.Data.Schema.Tools(Microsoft.Data.Schema.Tools.dll)

구문

‘선언
Public Overridable Sub PopulateDefaultMappings ( _
    generatorsToOutputs As Dictionary(Of ExtensionHandle(Of IGenerator), OutputDescriptor()), _
    <OutAttribute> ByRef defaultMappings As Dictionary(Of DbType, OutputDescriptor), _
    <OutAttribute> ByRef defaultExtensionMappings As Dictionary(Of Type, OutputDescriptor) _
)
public virtual void PopulateDefaultMappings(
    Dictionary<ExtensionHandle<IGenerator>, OutputDescriptor[]> generatorsToOutputs,
    out Dictionary<DbType, OutputDescriptor> defaultMappings,
    out Dictionary<Type, OutputDescriptor> defaultExtensionMappings
)
public:
virtual void PopulateDefaultMappings(
    Dictionary<ExtensionHandle<IGenerator^>^, array<OutputDescriptor^>^>^ generatorsToOutputs, 
    [OutAttribute] Dictionary<DbType, OutputDescriptor^>^% defaultMappings, 
    [OutAttribute] Dictionary<Type^, OutputDescriptor^>^% defaultExtensionMappings
)
abstract PopulateDefaultMappings : 
        generatorsToOutputs:Dictionary<ExtensionHandle<IGenerator>, OutputDescriptor[]> * 
        defaultMappings:Dictionary<DbType, OutputDescriptor> byref * 
        defaultExtensionMappings:Dictionary<Type, OutputDescriptor> byref -> unit 
override PopulateDefaultMappings : 
        generatorsToOutputs:Dictionary<ExtensionHandle<IGenerator>, OutputDescriptor[]> * 
        defaultMappings:Dictionary<DbType, OutputDescriptor> byref * 
        defaultExtensionMappings:Dictionary<Type, OutputDescriptor> byref -> unit 
public function PopulateDefaultMappings(
    generatorsToOutputs : Dictionary<ExtensionHandle<IGenerator>, OutputDescriptor[]>, 
    defaultMappings : Dictionary<DbType, OutputDescriptor>, 
    defaultExtensionMappings : Dictionary<Type, OutputDescriptor>
)

매개 변수

설명

데이터베이스 모델이 Visual Studio 프로젝트에서 나타낼 수 있도록 이 메서드를 통해 이 정보를 제공합니다. 사용자는 모델에 정의된 데이터베이스 프로젝트를 만들고 조작할 수 있습니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

DataGenerationServices 클래스

Microsoft.Data.Schema.Tools.DataGenerator 네임스페이스

DbType

ExtensionHandle

IGenerator

OutputDescriptor