예제 #1
0
파일: OrderImpl.cs 프로젝트: eglimi/storm
 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;
 }
예제 #2
0
파일: AddressImpl.cs 프로젝트: eglimi/storm
 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;
 }
예제 #3
0
파일: AddressImpl.cs 프로젝트: eglimi/storm
 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);
 }
예제 #4
0
파일: OrderImpl.cs 프로젝트: eglimi/storm
 public override Order createOrder(Person person, DateTime orderDate, DateTime shippedDate, String orderState)
 {
     return new OrderImpl(person, orderDate, shippedDate, orderState);
 }