Exemple #1
0
        public static Data.Entities.Location Map(Domain.Location dmLocation)
        {
            Data.Entities.Location deLocation = new Entities.Location();
            deLocation.Locationid = dmLocation.Locationid;
            deLocation.Street1    = dmLocation.Street1;
            deLocation.Street2    = dmLocation.Street2;
            deLocation.City       = dmLocation.City;
            deLocation.State      = dmLocation.State;
            deLocation.Country    = dmLocation.Country;
            deLocation.Zipcode    = dmLocation.Zipcode;

            return(deLocation);
        }
        public static Data.Entities.Location Map(Domain.Location dmLocation)
        {
            Data.Entities.Location deLocation = new Entities.Location();

            deLocation.Id      = dmLocation.Id;
            deLocation.Street  = dmLocation.Street;
            deLocation.City    = dmLocation.City;
            deLocation.State   = dmLocation.State;
            deLocation.ZipCode = dmLocation.ZipCode;
            deLocation.Phone   = dmLocation.Phone;
            //deLocation.Orders = dmLocation.Orders;

            return(deLocation);
        }