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
- from
Type: Microsoft.Data.Schema.SchemaModel.ModelSchema
The source ModelSchema object.
- to
Type: Microsoft.Data.Schema.SchemaModel.ModelSchema
The target ModelSchema object.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | One or both parameter values is nulla null reference (Nothing in Visual Basic). |
.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
ModelTranslatorDefinition Class