ModelTranslatorDefinition 构造函数

使用提供的 ModelSchema 对象初始化 ModelTranslatorDefinition 类的新实例。

命名空间:  Microsoft.Data.Schema.SchemaModel.Translation
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
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
)

参数

异常

异常 条件
ArgumentNullException

其中一个或全部两个参数为 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参见

参考

ModelTranslatorDefinition 类

Microsoft.Data.Schema.SchemaModel.Translation 命名空间

ModelSchema