private bool LoadByPrimaryKeyDynamic(System.String userID, System.String programID) { esAppUserProgramQuery query = this.GetDynamicQuery(); query.Where(query.UserID == userID, query.ProgramID == programID); return(query.Load()); }
protected void InitQuery(esAppUserProgramQuery query) { query.OnLoadDelegate = this.OnQueryLoaded; query.es2.Connection = ((IEntity)this).Connection; }