Table of Contents

Class Schema

Namespace
Dynamicweb.DataIntegration.Integration
Assembly
Dynamicweb.DataIntegration.dll

Describes a schema for a datasource/Destination. Additionally, describes any additions needed to the schema, such as new Tables or columns that should be added when a job is run.

public class Schema
Inheritance
Schema
Inherited Members

Constructors

Schema()

Initializes a new empty instance of the Schema class.

public Schema()

Schema(XmlNode)

Initializes a schema from XML.

public Schema(XmlNode node)

Parameters

node XmlNode

xmlNode containing the schema.

Methods

AddNewTable(string, string)

add a table to the schema that should be created in the destination when the import/export job is run

public Table AddNewTable(string tableName, string sqlSchema)

Parameters

tableName string
sqlSchema string

Returns

Table

AddTable(Table)

Adds a table to the schema

public void AddTable(Table table)

Parameters

table Table

AddTable(string)

add a table to the schema that already exists in the source/destination

public Table AddTable(string tableName)

Parameters

tableName string

Returns

Table

AddTable(string, string)

add a table to the schema that already exists in the source/destination

public Table AddTable(string tableName, string sqlSchema)

Parameters

tableName string
sqlSchema string

Returns

Table

GetTables()

Gets the tables.

public TableCollection GetTables()

Returns

TableCollection

RemoveTable(Table)

Removes the table from the schema.

public void RemoveTable(Table table)

Parameters

table Table

The table.

SaveAsXml(XmlTextWriter)

Writesthe schema as XML to the xmlTextWriter.

public void SaveAsXml(XmlTextWriter xmlTextWriter)

Parameters

xmlTextWriter XmlTextWriter

The XML text writer.

To top