Ejemplo n.º 1
0
        internal NrdoOrderByField(NrdoGetBase get, NrdoOrderByAttribute attr)
            : base(get, attr)
        {
            NrdoTableRef table = get.getTableByAlias(attr.Table);

            field = new NrdoFieldRef(table, attr.Field);
        }
Ejemplo n.º 2
0
 internal NrdoJoin(NrdoGetBase get, NrdoJoinAttribute jattr)
 {
     this.get = get;
     from     = new NrdoFieldRef(get.getFromTableByAlias(jattr.FromTable), jattr.FromField);
     to       = new NrdoFieldRef(get.getToTableByAlias(jattr.ToTable), jattr.ToField);
     index    = jattr.Index;
 }
Ejemplo n.º 3
0
 internal NrdoFieldRef(NrdoGetBase get, NrdoByFieldAttribute fattr)
     : this(get.getTableByAlias(fattr.Table), fattr.FieldName)
 {
     index = fattr.Index;
 }
Ejemplo n.º 4
0
 internal NrdoOrderBySql(NrdoGetBase get, NrdoOrderByAttribute attr)
     : base(get, attr)
 {
     this.sql = attr.Sql;
 }
Ejemplo n.º 5
0
 // Cannot be subclassed outside this assembly
 internal NrdoOrderByClause(NrdoGetBase get, NrdoOrderByAttribute attr)
 {
     this.get          = get;
     this.isDescending = attr.Descending;
     this.index        = attr.Index;
 }