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