Exemple #1
0
        private bool LoadByPrimaryKeyDynamic(System.String customerID)
        {
            CustomersQuery query = new CustomersQuery();

            query.Where(query.CustomerID == customerID);
            return(this.Load(query));
        }
Exemple #2
0
        protected void InitQuery(CustomersQuery query)
        {
            query.OnLoadDelegate = this.OnQueryLoaded;

            if (!query.es2.HasConnection)
            {
                query.es2.Connection = ((IEntityCollection)this).Connection;
            }
        }
Exemple #3
0
 public bool Load(CustomersQuery query)
 {
     this.query = query;
     InitQuery(this.query);
     return(Query.Load());
 }
Exemple #4
0
 public CustomersQuery(string joinAlias, out CustomersQuery query)
 {
     query             = this;
     this.es.JoinAlias = joinAlias;
 }