예제 #1
0
 public MsSqlSmoSchemaExtractor(MsSqlDatabase database)
     : base()
 {
     this._daoDatabase = database;
     ConnectionString  = database.ConnectionString;
 }
예제 #2
0
 public MsSqlSmoSchemaExtractor(MsSqlDatabase database, INameFormatter nameFormatter) : this(database)
 {
     this.NameFormatter = nameFormatter;
 }
예제 #3
0
        // 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;
        }