Exemplo n.º 1
0
        private bool LoadByPrimaryKeyDynamic(System.Int32 id)
        {
            ShippingLogQuery query = new ShippingLogQuery();

            query.Where(query.Id == id);
            return(this.Load(query));
        }
Exemplo n.º 2
0
        protected void InitQuery(ShippingLogQuery query)
        {
            query.OnLoadDelegate = this.OnQueryLoaded;

            if (!query.es2.HasConnection)
            {
                query.es2.Connection = ((IEntityCollection)this).Connection;
            }
        }
Exemplo n.º 3
0
        public static List <ShippingLog> LoadAll()
        {
            ShippingLogQuery q = new ShippingLogQuery();

            ShippingLogCollection shippingLogCollection = new ShippingLogCollection();

            shippingLogCollection.LoadAll();

            return(shippingLogCollection.ToList());
        }
Exemplo n.º 4
0
        internal ShippingLogCollection GetShippingLogEntries()
        {
            ShippingLogCollection log = new ShippingLogCollection();
            ShippingLogQuery      q   = new ShippingLogQuery();

            q.Where(q.CartId == this.CreatedFromCartId);

            log.Load(q);

            return(log);
        }
Exemplo n.º 5
0
 public bool Load(ShippingLogQuery query)
 {
     this.query = query;
     InitQuery(this.query);
     return(Query.Load());
 }