public MsSqlSmoSchemaExtractor(MsSqlDatabase database) : base() { this._daoDatabase = database; ConnectionString = database.ConnectionString; }
public MsSqlSmoSchemaExtractor(MsSqlDatabase database, INameFormatter nameFormatter) : this(database) { this.NameFormatter = nameFormatter; }
// TODO: update this to retrieve all meta data using fewer queries along the lines of //SELECT COLUMN_NAME, DATA_TYPE, CHARACTER_MAXIMUM_LENGTH FROM {GetSchemaName()}.INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'TestTable' public MsSqlSchemaExtractor(MsSqlDatabase database) : base() { Database = database; ConnectionString = database.ConnectionString; }