Class SyncCommand

Represents Meta-model synchronization command.

Inheritance
System.Object
SyncCommand
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Data.Meta.Schema
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 10.8.0
Syntax
public class SyncCommand

Constructors

SyncCommand()

Initializes a new instance of the SyncCommand class.

Declaration
public SyncCommand()

SyncCommand(String, SyncCommandType, String[], XmlNode, XmlNode)

Initializes a new instance of the SyncCommand class.

Declaration
public SyncCommand(string elementId, SyncCommandType type, string[] parentKeys, XmlNode srcNode, XmlNode destNode)
Parameters
Type Name Description
System.String elementId

The element id.

SyncCommandType type

The type.

System.String[] parentKeys

The parent keys.

System.Xml.XmlNode srcNode

The SRC node.

System.Xml.XmlNode destNode

The dest node.

Properties

DestinationNode

Gets or sets the destination node.

Declaration
public XmlNode DestinationNode { get; set; }
Property Value
Type Description
System.Xml.XmlNode

The destination node.

ParentKeys

Gets or sets the keys.

Declaration
public string[] ParentKeys { get; set; }
Property Value
Type Description
System.String[]

The keys.

SchemaElementId

Gets or sets the schema element.

Declaration
public string SchemaElementId { get; set; }
Property Value
Type Description
System.String

The schema element.

SourceNode

Gets or sets the source node.

Declaration
public XmlNode SourceNode { get; set; }
Property Value
Type Description
System.Xml.XmlNode

The source node.

Type

Gets or sets the type.

Declaration
public SyncCommandType Type { get; set; }
Property Value
Type Description
SyncCommandType

The type.

Methods

GetSourceElementKey(SchemaDocument)

Gets the source element key.

Declaration
public string GetSourceElementKey(SchemaDocument schema)
Parameters
Type Name Description
SchemaDocument schema

The schema.

Returns
Type Description
System.String

ToString()

Returns a System.String that represents the current System.Object.

Declaration
public override string ToString()
Returns
Type Description
System.String

A System.String that represents the current System.Object.

Overrides
System.Object.ToString()