public MockTable(TableName name) { this.name = name; columns = new ColumnCollection(this); rows = new Dictionary<RowId, TableRow>(); rowIndex = new List<RowId>(); }
protected TableBase(TableName tableName) { this.tableName = tableName; columns = new ColumnCollection(this); DoSetupColumns(); }
public SystemColumnsTable(SystemTransaction transaction, long id) { this.transaction = transaction; this.id = id; columns = new ColumnCollection(this); SetupColumns(); }
public FunctionResultTable(SqlObject[] values) { this.values = values; columns = new ColumnCollection(this); for (int i = 0; i < values.Length; i++) { columns.Add(new TableColumn(this, "column" + i, values[i].Type)); } columns.MakeReadOnly(); }
public QueryContainerTable(SystemTransaction transaction, Query query) { this.transaction = transaction; parameters = new List<SqlObject>(); if (query != null) { queryString = query.Text; foreach (QueryParameter parameter in query.Parameters) parameters.Add(parameter.Value); } columns = new ColumnCollection(this); columns.Add("#QUERY", SqlType.String, true); }