private static void TestInit(SiteResourceEntities context) { var address = new Address { Suburb = "wellington", Street = "Shoreline", Number = "12", Unit = "13" }; var quote = new Quote { CreatedDate = DateTime.Today, LastUpdateDate = DateTime.Today, BusinessTypeId = 1, Firstname = "chang", Lastname = "liu", Position = "manager", Title = "Mr", Company = "NZ test company", LeadPersonalId = 1, StatusId = 1, Phone = "231414124", Postcode = "0112", State = "NZ", Address = address }; context.Quotes.AddOrUpdate(l=>l.BusinessTypeId,quote); }
public Cost() { DayOfClean=new DayOfClean(); Address=new Address(); }