private bool LoadByPrimaryKeyDynamic(System.String customerID) { CustomersQuery query = new CustomersQuery(); query.Where(query.CustomerID == customerID); return(this.Load(query)); }
protected void InitQuery(CustomersQuery query) { query.OnLoadDelegate = this.OnQueryLoaded; if (!query.es2.HasConnection) { query.es2.Connection = ((IEntityCollection)this).Connection; } }
public bool Load(CustomersQuery query) { this.query = query; InitQuery(this.query); return(Query.Load()); }
public CustomersQuery(string joinAlias, out CustomersQuery query) { query = this; this.es.JoinAlias = joinAlias; }