public OrderImpl(Person person, DateTime orderDate, DateTime shippedDate, String orderState) { markNew(); m_Person = new ToOneRelation(typeof(Person), "PersonID", null); m_OrderDetails = new ToManyRelation(typeof(OrderDetail), "OrderID", null, true); m_ShippedDate = shippedDate; m_OrderState = orderState; m_OrderDate = orderDate; m_Person.Object = person; }
public AddressImpl(Person person, String city, String street, String postalCode, String phone, String email) { markNew(); m_Person = new ToOneRelation(typeof(Person), "PersonID", null); m_Email = email; m_Street = street; m_City = city; m_Phone = phone; m_Person.Object = person; m_PostalCode = postalCode; }
public override Address createAddress(Person person, String city, String street, String postalCode, String phone, String email) { return new AddressImpl(person, city, street, postalCode, phone, email); }
public override Order createOrder(Person person, DateTime orderDate, DateTime shippedDate, String orderState) { return new OrderImpl(person, orderDate, shippedDate, orderState); }