private Customer CreateNewCustomer()
        {
            var newCustomer = new Customer
            {
                CustomerNo = "123",
                Firstname = "Daniel",
                Phone1 = new Phone("012", 12345),
                InvoiceAddress = { Street = "The Street 1", Zip = "12345", City = "Gothenburg", Country = "Sweden" }
            };

            Db.UseOnceTo().Insert(newCustomer);

            return newCustomer;
        }
Example #2
0
 public Booking()
 {
     Customer = new Customer();
     Room = new Room();
 }