ModelTranslatorSplitToType Class

Creates a new element in the target schema from one or more parts of an element in the source schema.

Inheritance Hierarchy

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

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

Syntax

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

The ModelTranslatorSplitToType type exposes the following members.

Constructors

  Name Description
Public method ModelTranslatorSplitToType

Top

Properties

  Name Description
Public property AttractRelationships Gets a list of relationships that point to the element in the source schema that should also point to the new element when moved to the target schema.
Public property PropertiesMap Gets a list of PropertyClass metadata objects that describe properties in the source schema and the corresponding list of PropertyClass metadata objects that describe properties that will be created in the target schema.
Public property RelationshipsMap Gets a list of RelationshipClass metadata objects that describe relationships in the source schema and the corresponding list of RelationshipClass metadata objects that describe relationships to be created in the target schema.
Public property ToClass Gets the target ElementClass metadata object.

Top

Methods

  Name Description
Public method AttractDependent
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IncludeProperty(ModelPropertyClass)
Public method IncludeProperty(ModelPropertyClass, ModelPropertyClass)
Public method IncludeRelationship(ModelRelationshipClass)
Public method IncludeRelationship(ModelRelationshipClass, ModelRelationshipClass)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

The ModelTranslatorPromoteToAction class specifies how to split an element in the source schema into one or more new elements in the target schema. To accomplish this, it uses a ModelTranslatorSplitToType object to create each new target element.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.Schema.SchemaModel.Translation Namespace

ModelTranslatorPromoteToAction