Exemple #1
0
        private bool LoadByPrimaryKeyDynamic(System.Int32 autoKey)
        {
            CustomServerAliasedQuery query = new CustomServerAliasedQuery();

            query.Where(query.AutoKey == autoKey);
            return(this.Load(query));
        }
Exemple #2
0
        protected void InitQuery(CustomServerAliasedQuery query)
        {
            query.OnLoadDelegate = this.OnQueryLoaded;

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