using System; using System.Collections.Generic; using System.Text; namespace sharpcomparer { public class Index { private string constraintCatalog; private string constraintSchema; private string constraintName; private string tableCatalog; private string tableSchema; private string tableName; private string indexName; private List indexColumns; public string ConstraintCatalog { get { return constraintCatalog; } set { constraintCatalog = value; } } public string ConstraintSchema { get { return constraintSchema; } set { constraintSchema = value; } } public string ConstraintName { get { return constraintName; } set { constraintName = value; } } public string TableCatalog { get { return tableCatalog; } set { tableCatalog = value; } } public string TableSchema { get { return tableSchema; } set { tableSchema = value; } } public string TableName { get { return tableName; } set { tableName = value; } } public string IndexName { get { return indexName; } set { indexName = value; } } public List IndexColumns { get { return indexColumns; } set { indexColumns = value; } } public Index(string constraintCatalog, string constraintSchema, string constraintName, string tableCatalog, string tableSchema, string tableName, string indexName) { this.constraintCatalog = constraintCatalog; this.constraintSchema = constraintSchema; this.constraintName = constraintName; this.tableCatalog = tableCatalog; this.tableSchema = tableSchema; this.tableName = tableName; this.indexName = indexName; indexColumns = new List(); } } }