private bool LoadByPrimaryKeyDynamic(System.Decimal aDMIN_ID) { MSC_ADMINQuery query = new MSC_ADMINQuery(); query.Where(query.ADMIN_ID == aDMIN_ID); return(this.Load(query)); }
protected void InitQuery(MSC_ADMINQuery query) { query.OnLoadDelegate = this.OnQueryLoaded; if (!query.es2.HasConnection) { query.es2.Connection = ((IEntityCollection)this).Connection; } }
public bool Load(MSC_ADMINQuery query) { this.query = query; InitQuery(this.query); return(Query.Load()); }