public IQueryContext CreateContext() { lock (syncObject) { // Create a new transaction if there isn't already one open. if (transaction == null) { transaction = session.CreateTransaction(username); } // The query container table QueryContainerTable queryContainer = new QueryContainerTable(transaction, null); // Return a query container interface return new EmbeddedQueryContext(queryContainer, transaction, syncObject); } }
public QueryTableRow(QueryContainerTable table, RowId id) : base(table, id) { this.table = table; values = new List<SqlObject>(); }