示例#1
0
        private bool LoadByPrimaryKeyDynamic(System.String userID, System.String programID)
        {
            esAppUserProgramQuery query = this.GetDynamicQuery();

            query.Where(query.UserID == userID, query.ProgramID == programID);
            return(query.Load());
        }
示例#2
0
 protected void InitQuery(esAppUserProgramQuery query)
 {
     query.OnLoadDelegate = this.OnQueryLoaded;
     query.es2.Connection = ((IEntity)this).Connection;
 }