private bool LoadByPrimaryKeyDynamic(System.String groupID) { CustomerGroupQuery query = new CustomerGroupQuery(); query.Where(query.GroupID == groupID); return(this.Load(query)); }
protected void InitQuery(CustomerGroupQuery query) { query.OnLoadDelegate = this.OnQueryLoaded; if (!query.es2.HasConnection) { query.es2.Connection = ((IEntityCollection)this).Connection; } }
public bool Load(CustomerGroupQuery query) { this.query = query; InitQuery(this.query); return(Query.Load()); }