private bool LoadByPrimaryKeyDynamic(System.Int32 orderID, System.Int32 productID) { OrderDetailsQuery query = new OrderDetailsQuery(); query.Where(query.OrderID == orderID, query.ProductID == productID); return(this.Load(query)); }
protected void InitQuery(OrderDetailsQuery query) { query.OnLoadDelegate = this.OnQueryLoaded; if (!query.es2.HasConnection) { query.es2.Connection = ((IEntityCollection)this).Connection; } }
public bool Load(OrderDetailsQuery query) { this.query = query; InitQuery(this.query); return(Query.Load()); }
public OrderDetailsQuery(string joinAlias, out OrderDetailsQuery query) { query = this; this.es.JoinAlias = joinAlias; }