Exemple #1
0
 partial void OnAddressChanging(Address value);
Exemple #2
0
 /// <summary>
 /// Create a new College 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>
 /// <param name="contact">Initial value of the Contact property.</param>
 /// <param name="uIId">Initial value of the UIId property.</param>
 public static College CreateCollege(global::System.Int32 id, global::System.String name, Address address, ContactInfo contact, global::System.String uIId)
 {
     College college = new College();
     college.Id = id;
     college.Name = name;
     college.Address = StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
     college.Contact = StructuralObject.VerifyComplexObjectIsNotNull(contact, "Contact");
     college.UIId = uIId;
     return college;
 }
Exemple #3
0
 /// <summary>
 /// Create a new Address object.
 /// </summary>
 /// <param name="unit">Initial value of the Unit property.</param>
 public static Address CreateAddress(global::System.String unit)
 {
     Address address = new Address();
     address.Unit = unit;
     return address;
 }
Exemple #4
0
 partial void OnPermanentAddressChanging(Address value);
Exemple #5
0
 partial void OnPostalAddressChanging(Address value);
Exemple #6
0
 /// <summary>
 /// Create a new User object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="contact">Initial value of the Contact property.</param>
 /// <param name="postalAddress">Initial value of the PostalAddress property.</param>
 /// <param name="permanentAddress">Initial value of the PermanentAddress property.</param>
 /// <param name="dOB">Initial value of the DOB property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 public static User CreateUser(global::System.Int32 id, Name name, ContactInfo contact, Address postalAddress, Address permanentAddress, global::System.DateTime dOB, global::System.String status)
 {
     User user = new User();
     user.Id = id;
     user.Name = StructuralObject.VerifyComplexObjectIsNotNull(name, "Name");
     user.Contact = StructuralObject.VerifyComplexObjectIsNotNull(contact, "Contact");
     user.PostalAddress = StructuralObject.VerifyComplexObjectIsNotNull(postalAddress, "PostalAddress");
     user.PermanentAddress = StructuralObject.VerifyComplexObjectIsNotNull(permanentAddress, "PermanentAddress");
     user.DOB = dOB;
     user.Status = status;
     return user;
 }