private bool LoadByPrimaryKeyDynamic(System.Int32 id) { esProjectQuery query = this.GetDynamicQuery(); query.Where(query.Id == id); return(query.Load()); }
protected void InitQuery(esProjectQuery query) { query.OnLoadDelegate = this.OnQueryLoaded; query.es.Connection = ((IEntity)this).Connection; }