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