Exemple #1
0
        public IBOOrdersQry BOOrdersQry(IOrdersQryRepository repo)
        {
            BOOrdersQry boOrdersQry = (BOOrdersQry)BOOrdersQry();

            boOrdersQry.Repository = repo;
            return(boOrdersQry);
        }
Exemple #2
0
        public IBOOrdersQry BOOrdersQry()
        {
            var boOrdersQry = new BOOrdersQry()
            {
                OrderID        = this.OrderID,
                CustomerID     = this.CustomerID,
                EmployeeID     = this.EmployeeID,
                OrderDate      = this.OrderDate,
                RequiredDate   = this.RequiredDate,
                ShippedDate    = this.ShippedDate,
                ShipVia        = this.ShipVia,
                Freight        = this.Freight,
                ShipName       = this.ShipName,
                ShipAddress    = this.ShipAddress,
                ShipCity       = this.ShipCity,
                ShipRegion     = this.ShipRegion,
                ShipPostalCode = this.ShipPostalCode,
                ShipCountry    = this.ShipCountry,
                CompanyName    = this.CompanyName,
                Address        = this.Address,
                City           = this.City,
                Region         = this.Region,
                PostalCode     = this.PostalCode,
                Country        = this.Country
            };

            return(boOrdersQry);
        }