Ejemplo n.º 1
0
        readonly OrderBy orderBy; // Can be null

        public Select(IRowSelection rowSelection, ISelectColumns columns, ISelectSource from, Where where, OrderBy orderBy)
        {
            this.rowSelection = rowSelection;
            this.columns      = columns;
            this.from         = from;
            this.where        = where;
            this.orderBy      = orderBy;
        }
Ejemplo n.º 2
0
 /// <summary> Creates a simple select query which can be extended or used as a subquery </summary>
 /// <param name="Source"> A qualified name of table/view or a subquery</param>
 public SelectQuery(ISelectSource Source, params IColumnDefinion[] Fields)
 {
     source = Source;
     fields = Fields;
 }
Ejemplo n.º 3
0
 public ISelectSource Select()
 {
     return _select ?? (_select = Player.SelectCard(Ability));
 }