/// <summary> /// Instantiates a new instance of the DbQuery class. /// </summary> /// <param name="name">Name of the query.</param> /// <param name="kind">Type of database data query.</param> /// <param name="table">The table to consider.</param> protected DbQuery( string name, DbQueryKind kind, DbTable table = null) : this(kind, table) { Name = name; }
/// <summary> /// Instantiates a new instance of the DbQuery class. /// </summary> /// <param name="kind">Type of database data query.</param> /// <param name="table">The table to consider.</param> protected DbQuery( DbQueryKind kind, DbTable table = null) { Kind = kind; if (table != null) { DataModule = table.DataModule; DataTable = table.Name; DataTableAlias = table.Alias; Schema = table.Schema; } }
/// <summary> /// Instantiates a new instance of the AdvancedDbQuery class. /// </summary> /// <param name="name">Name of the query.</param> /// <param name="kind">Type of database data query.</param> /// <param name="table">The table to consider.</param> public DbSingleQuery( string name, DbQueryKind kind, DbTable table = null) : base(name, kind, table) { }
/// <summary> /// Instantiates a new instance of the AdvancedDbQuery class. /// </summary> /// <param name="kind">Type of database data query.</param> /// <param name="table">The table to consider.</param> public DbSingleQuery( DbQueryKind kind, DbTable table = null) : base(kind, table) { }
/// <summary> /// Instantiates a new instance of the DbCTEQuery class. /// </summary> /// <param name="name">The name of the query to consider.</param> /// <param name="kind">The kind to consider.</param> /// <param name="table">The table to consider.</param> public DbCompositeQuery(string name, DbQueryKind kind, DbTable table) : base(name, kind, table) { }
/// <summary> /// Instantiates a new instance of the DbCTEQuery class. /// </summary> /// <param name="kind">The kind to consider.</param> /// <param name="table">The table to consider.</param> public DbCompositeQuery(DbQueryKind kind, DbTable table) : this(null, kind, table) { }