예제 #1
0
        private bool LoadByPrimaryKeyDynamic(System.Decimal aDMIN_ID)
        {
            MSC_ADMINQuery query = new MSC_ADMINQuery();

            query.Where(query.ADMIN_ID == aDMIN_ID);
            return(this.Load(query));
        }
예제 #2
0
        protected void InitQuery(MSC_ADMINQuery query)
        {
            query.OnLoadDelegate = this.OnQueryLoaded;

            if (!query.es2.HasConnection)
            {
                query.es2.Connection = ((IEntityCollection)this).Connection;
            }
        }
예제 #3
0
 public bool Load(MSC_ADMINQuery query)
 {
     this.query = query;
     InitQuery(this.query);
     return(Query.Load());
 }