Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Address object.
 /// </summary>
 /// <param name="details">Initial value of the Details property.</param>
 public static Address CreateAddress(global::System.String details)
 {
     Address address = new Address();
     address.Details = details;
     return address;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Depot object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="address">Initial value of the Address property.</param>
 public static Depot CreateDepot(global::System.Int32 id, global::System.String name, Address address)
 {
     Depot depot = new Depot();
     depot.Id = id;
     depot.Name = name;
     depot.Address = StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
     return depot;
 }
Ejemplo n.º 3
0
 partial void OnAddressChanging(Address value);
Ejemplo n.º 4
0
 /// <summary>
 /// Create a new Delivery object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="address">Initial value of the Address property.</param>
 /// <param name="deliveryTypeId">Initial value of the DeliveryTypeId property.</param>
 public static Delivery CreateDelivery(global::System.Int32 id, global::System.DateTime date, global::System.String status, Address address, global::System.Int32 deliveryTypeId)
 {
     Delivery delivery = new Delivery();
     delivery.Id = id;
     delivery.Date = date;
     delivery.Status = status;
     delivery.Address = StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
     delivery.DeliveryTypeId = deliveryTypeId;
     return delivery;
 }