ModelTranslatorSplitToType 类

根据源架构中的某个元素的一个或多个部分在目标架构中创建一个新元素。

继承层次结构

System.Object
  Microsoft.Data.Schema.SchemaModel.Translation.ModelTranslatorSplitToType

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

语法

声明
Public NotInheritable Class ModelTranslatorSplitToType
public sealed class ModelTranslatorSplitToType
public ref class ModelTranslatorSplitToType sealed
[<Sealed>]
type ModelTranslatorSplitToType =  class end
public final class ModelTranslatorSplitToType

ModelTranslatorSplitToType 类型公开以下成员。

构造函数

  名称 说明
公共方法 ModelTranslatorSplitToType

页首

属性

  名称 说明
公共属性 AttractRelationships 获取关系列表,这些关系指向源架构中的元素,同时还应指向移至目标架构时的新元素。
公共属性 PropertiesMap 获取 PropertyClass 元数据对象(描述源架构中的属性)的列表和对应的 PropertyClass 元数据对象(描述要在目标架构中创建的属性)的列表。
公共属性 RelationshipsMap 获取 RelationshipClass 元数据对象(描述源架构中的关系)的列表和对应的 RelationshipClass 元数据对象(描述要在目标架构中创建的关系)的列表。
公共属性 ToClass 获取目标 ElementClass 元数据对象。

页首

方法

  名称 说明
公共方法 AttractDependent
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 IncludeProperty(ModelPropertyClass)
公共方法 IncludeProperty(ModelPropertyClass, ModelPropertyClass)
公共方法 IncludeRelationship(ModelRelationshipClass)
公共方法 IncludeRelationship(ModelRelationshipClass, ModelRelationshipClass)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

备注

ModelTranslatorPromoteToAction 类指定如何将源架构中的元素拆分为目标架构中的一个或多个新元素。 为了完成此任务,它将使用 ModelTranslatorSplitToType 对象创建每个新的目标元素。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

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

ModelTranslatorPromoteToAction