Share via


ModelTranslatorDefinition Constructor

Initializes a new instance of the ModelTranslatorDefinition class by using the provided ModelSchema objects.

Namespace:  Microsoft.Data.Schema.SchemaModel.Translation
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Sub New ( _
    from As ModelSchema, _
    to As ModelSchema _
)
public ModelTranslatorDefinition(
    ModelSchema from,
    ModelSchema to
)
public:
ModelTranslatorDefinition(
    ModelSchema^ from, 
    ModelSchema^ to
)
new : 
        from:ModelSchema * 
        to:ModelSchema -> ModelTranslatorDefinition
public function ModelTranslatorDefinition(
    from : ModelSchema, 
    to : ModelSchema
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

One or both parameter values is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ModelTranslatorDefinition Class

Microsoft.Data.Schema.SchemaModel.Translation Namespace

ModelSchema