Exemplo n.º 1
0
        private bool LoadByPrimaryKeyDynamic(System.String customerID, System.String customerTypeID)
        {
            CustomerCustomerDemoQuery query = new CustomerCustomerDemoQuery();

            query.Where(query.CustomerID == customerID, query.CustomerTypeID == customerTypeID);
            return(this.Load(query));
        }
Exemplo n.º 2
0
        protected void InitQuery(CustomerCustomerDemoQuery query)
        {
            query.OnLoadDelegate = this.OnQueryLoaded;

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