コード例 #1
0
 public QueryExpression(string EntityName = null, ColumnSet columnSet = null)
 {
     ColumnSet = new ColumnSet();
     if (columnSet != null)
         this.ColumnSet = columnSet;
     this.Criteria = new FilterExpression();
     this.LinkEntities = new DataCollection<LinkEntity>();
     this.Orders = new DataCollection<OrderExpression>();
     this.PageInfo = new PagingInfo();
     this.EntityName = EntityName;
 }
コード例 #2
0
 public QueryByAttribute()
 {
     Attributes = new DataCollection<string>();
     ColumnSet = new ColumnSet();
     Orders = new DataCollection<OrderExpression>();
     Values = new DataCollection<object>();
 }
コード例 #3
0
 static internal ColumnSet LoadFromXml(XElement item)
 {
     ColumnSet columnSet = new ColumnSet()
     {
         AllColumns = Util.LoadFromXml<bool>(item.Element(Util.ns.a + "AllColumns"))
     };
     foreach (XElement Column in item.Element(Util.ns.a + "Columns").Elements(Util.ns.f + "string"))
     {
         columnSet.Columns.Add(Column.Value);
     }
     return columnSet;
 }
コード例 #4
0
 public LinkEntity()
 {
     Columns = new ColumnSet();
     LinkCriteria = new FilterExpression();
     LinkEntities = new DataCollection<LinkEntity>();
 }
コード例 #5
0
 public LinkEntity()
 {
     Columns      = new ColumnSet();
     LinkCriteria = new FilterExpression();
     LinkEntities = new DataCollection <LinkEntity>();
 }