DataSchemaModelTranslator.Translate Method
Translates the provided schema model to the target type that is defined by the constructor.
Namespace: Microsoft.Data.Schema.SchemaModel.Translation
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Overrides Function Translate ( _
fromModel As ModelStore, _
doNotDisposeFromModel As Boolean _
) As ModelStore
public override ModelStore Translate(
ModelStore fromModel,
bool doNotDisposeFromModel
)
public:
virtual ModelStore^ Translate(
ModelStore^ fromModel,
bool doNotDisposeFromModel
) override
abstract Translate :
fromModel:ModelStore *
doNotDisposeFromModel:bool -> ModelStore
override Translate :
fromModel:ModelStore *
doNotDisposeFromModel:bool -> ModelStore
public override function Translate(
fromModel : ModelStore,
doNotDisposeFromModel : boolean
) : ModelStore
Parameters
- fromModel
Type: Microsoft.Data.Schema.SchemaModel.ModelStore
An existing data schema model that is defined by a ModelStore object.
- doNotDisposeFromModel
Type: System.Boolean
If false, dispose the fromModel when the translation is completed.
Return Value
Type: Microsoft.Data.Schema.SchemaModel.ModelStore
The translated target model object.
.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.
See Also
Reference
DataSchemaModelTranslator Class