DataGenerationServices.PopulateDefaultMappings Method
Populates default mappings and default extension mappings.
Namespace: Microsoft.Data.Schema.DataGenerator
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.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) _
)
'Usage
Dim instance As DataGenerationServices
Dim generatorsToOutputs As Dictionary(Of ExtensionHandle(Of IGenerator), OutputDescriptor())
Dim defaultMappings As Dictionary(Of DbType, OutputDescriptor)
Dim defaultExtensionMappings As Dictionary(Of Type, OutputDescriptor)
instance.PopulateDefaultMappings(generatorsToOutputs, _
defaultMappings, defaultExtensionMappings)
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
)
public function PopulateDefaultMappings(
generatorsToOutputs : Dictionary<ExtensionHandle<IGenerator>, OutputDescriptor[]>,
defaultMappings : Dictionary<DbType, OutputDescriptor>,
defaultExtensionMappings : Dictionary<Type, OutputDescriptor>
)
abstract PopulateDefaultMappings :
generatorsToOutputs:Dictionary<ExtensionHandle<IGenerator>, OutputDescriptor[]> *
defaultMappings:Dictionary<DbType, OutputDescriptor> *
defaultExtensionMappings:Dictionary<Type, OutputDescriptor> -> unit
override PopulateDefaultMappings :
generatorsToOutputs:Dictionary<ExtensionHandle<IGenerator>, OutputDescriptor[]> *
defaultMappings:Dictionary<DbType, OutputDescriptor> *
defaultExtensionMappings:Dictionary<Type, OutputDescriptor> -> unit
Parameters
- generatorsToOutputs
Type: System.Collections.Generic.Dictionary<ExtensionHandle<IGenerator>, array<OutputDescriptor[]>
The generators to outputs
- defaultMappings
Type: System.Collections.Generic.Dictionary<DbType, OutputDescriptor>%
The default mappings
- defaultExtensionMappings
Type: System.Collections.Generic.Dictionary<Type, OutputDescriptor>%
The default extension mappings
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.