Beispiel #1
0
 public Table(string tableName, int maxRows = 0)
 {
     Name          = tableName;
     LogicalName   = DefaultLogicalName();
     BaseTableName = CleanString(tableName);
     Columns       = new TableColumns();
     Data          = new TableCache(maxRows);
 }
Beispiel #2
0
 public Table(string tableName, TableColumns columns, TableCache data)
 {
     Name          = tableName;
     LogicalName   = DefaultLogicalName();
     BaseTableName = CleanString(tableName);
     Columns       = columns;
     Data          = data;
 }
Beispiel #3
0
        public Table(string tableName, int maxRows, params TableColumn[] columns)
        {
            Name          = tableName;
            LogicalName   = DefaultLogicalName();
            BaseTableName = CleanString(tableName);
            Columns       = new TableColumns();
            foreach (var column in columns)
            {
                Columns.Add(column);
            }

            Data = new TableCache(maxRows);
        }
Beispiel #4
0
 public Table()
 {
     Data    = new TableCache(0);
     Columns = new TableColumns();
 }