Exemple #1
0
 partial void OnContactChanging(ContactInfo value);
Exemple #2
0
 /// <summary>
 /// Create a new ContactInfo object.
 /// </summary>
 /// <param name="mobile">Initial value of the Mobile property.</param>
 public static ContactInfo CreateContactInfo(global::System.String mobile)
 {
     ContactInfo contactInfo = new ContactInfo();
     contactInfo.Mobile = mobile;
     return contactInfo;
 }
Exemple #3
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 #4
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;
 }