Dela via


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

  • 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

See Also

Reference

DataSchemaModelTranslator Class

Microsoft.Data.Schema.SchemaModel.Translation Namespace

ModelStore