Microsoft.Data.Schema.SchemaModel.Translation 命名空间
提供一些类,这些类用于将现有数据架构模型转换为目标架构模型。
创建派生的类以在另一特定类型的数据库中重新创建现有数据库。
类
类 | 说明 | |
---|---|---|
DataSchemaModelTranslator | 为将数据架构模型转换为特定数据库的架构模型(例如,SQL Server 架构模型)的转换器类提供一个基类。 | |
ModelTranslator | 为转换器提供低级别的基类。 | |
ModelTranslatorAction | 为实现特定操作的类(例如,ModelTranslatorDemoteToAction)提供一个基类。 | |
ModelTranslatorDefinition | 表示实现转换的操作的容器。 | |
ModelTranslatorDemoteToAction | 将源元素转换为其属性少于源元素的目标元素。 | |
ModelTranslatorDeprecateAction | 从目标架构模型中消除源元素。 | |
ModelTranslatorException | 遇到错误时由 ModelTranslator 或 Microsoft.Data.Schema.SchemaModel.Translation 命名空间中的相关对象引发的异常。此类不能被继承。 | |
ModelTranslatorMergeToAction | 指定如何将多个多种类型的源元素合并到目标架构中的一个元素中。 | |
ModelTranslatorPromoteToAction | 将源元素转换为其属性多于源元素的目标元素。 | |
ModelTranslatorSplitToAction | 指定如何在目标架构中将一种源元素拆分为多个其他元素。 | |
ModelTranslatorSplitToType | 根据源架构中的某个元素的一个或多个部分在目标架构中创建一个新元素。 |
枚举
枚举 | 说明 | |
---|---|---|
ModelTranslatorCompatibilityLevel | 枚举模型转换器的兼容性级别。 |