Поделиться через


DataGenerationServices.PopulateDefaultMappings Method

Returns your choices for the specific default mappings of database data types to output descriptors by using the provided list of available generator to output descriptor mappings. It returns your choices for the specific default mappings of database data types to output descriptors, and the default mappings of extended database data types to output descriptors.

Namespace:  Microsoft.Data.Schema.Tools.DataGenerator
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Syntax

'Declaration
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>
)

Parameters

Remarks

Provide this information through this method so that your database schema model can be represented in Visual Studio projects, where users can create and manipulate database objects that you have defined in your model.

.NET Framework Security

See Also

Reference

DataGenerationServices Class

Microsoft.Data.Schema.Tools.DataGenerator Namespace

DbType

ExtensionHandle

IGenerator

OutputDescriptor