Beispiel #1
0
        public IEnumerable <TIEntity> GetValues()
        {
            var select = new Select <TIEntity>(this);

            SelectStatement = select;
            return(Datastore.ExecuteQuery(this, select));
        }
Beispiel #2
0
        public IEnumerable <TIEntity> Top(int quantity)
        {
            var select = new SelectTop <TIEntity>(this, quantity);

            SelectStatement = select;
            return(Datastore.ExecuteQuery(this, select));
        }
Beispiel #3
0
 public IEnumerable <KeyValuePair <object[], long> > Count(params ColumnValue[] columns)
 {
     SelectStatement = Queries.Count.CreateTableCount(columns);
     return(Datastore.ExecuteQuery(this));
 }
Beispiel #4
0
 public IEnumerable <AggregableResultRow> Sum(params ColumnValue[] columns)
 {
     SelectStatement = Aggregable.CreateSum(columns);
     return(Datastore.ExecuteQuery(this));
 }