static public QueryContextInfo Create(QueryContextInfo clone) { QueryContextInfo context = new QueryContextInfo(); context.SetContext(clone); return(context); }
public QueryContext(QueryContextInfo dqc, string db) { this.Context = new DatabaseContext <TConnection, TCommand, TAdapter, TParameter>(); if (dqc != null) { this.Context.SetContext(dqc); } datafile = db; }
public void SetContext(QueryContextInfo clone) { this.SqlSort = clone.SqlSort; this.SqlSortOrder = clone.SqlSortOrder; this.tableAlias = clone.tableAlias; this.TablePk = clone.TablePk; this.TableFieldsAttribute = clone.TableFieldsAttribute; this.TableCategory = clone.TableCategory; this.TableContent = clone.TableContent; this.TableGroupsAttribute = clone.TableGroupsAttribute; this.TableName = clone.TableName; this.TableTitle = clone.TableTitle; this.TableInsertStamp = clone.TableInsertStamp; this.CategoryName = clone.CategoryName; this.CategoryPk = clone.CategoryPk; this.CategoryMode = clone.categoryMode; this.CategoryTitle = clone.CategoryTitle; this.Generator = clone.Generator; // < \\ }
public SQLiteContext(QueryContextInfo dbc, string path) : base(dbc, path) { Initialize(); this.Context.Generator = "sqlite"; }
public SQLiteContext(QueryContextInfo dbc) : this(dbc, dbc.tableFileName) { }
public OleDbContext(QueryContextInfo qdc, string file) : base(qdc, file) { this.Initialize(); this.Context.Generator = "ole"; }
public OleDbContext(QueryContextInfo qdc) : base(qdc, null) { }
public SqlContext(QueryContextInfo qdc) : base(qdc, null) { }
public QueryDatabaseContext(QueryContextInfo clone) { SetContext(clone); }
public QueryContext(QueryContextInfo dbc) : this(dbc, dbc.TableFile) { }