Example #1
0
        private bool LoadByPrimaryKeyDynamic(System.String userID, System.String userGroupID)
        {
            esAppUserUserGroupQuery query = this.GetDynamicQuery();

            query.Where(query.UserID == userID, query.UserGroupID == userGroupID);
            return(query.Load());
        }
Example #2
0
 protected void InitQuery(esAppUserUserGroupQuery query)
 {
     query.OnLoadDelegate = this.OnQueryLoaded;
     query.es2.Connection = ((IEntityCollection)this).Connection;
 }