Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the StudentParentContacts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStudentParentContacts(StudentParentContact studentParentContact)
 {
     base.AddObject("StudentParentContacts", studentParentContact);
 }
Пример #2
0
 /// <summary>
 /// Create a new StudentParentContact object.
 /// </summary>
 /// <param name="studentParentContactId">Initial value of the StudentParentContactId property.</param>
 /// <param name="studentParentId">Initial value of the StudentParentId property.</param>
 /// <param name="contactTime">Initial value of the ContactTime property.</param>
 /// <param name="contactMade">Initial value of the ContactMade property.</param>
 /// <param name="contactNotes">Initial value of the ContactNotes property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="createdOn">Initial value of the CreatedOn property.</param>
 /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param>
 /// <param name="lastModifiedOn">Initial value of the LastModifiedOn property.</param>
 public static StudentParentContact CreateStudentParentContact(global::System.Int32 studentParentContactId, global::System.Int32 studentParentId, global::System.DateTime contactTime, global::System.Boolean contactMade, global::System.String contactNotes, global::System.Int32 createdBy, global::System.DateTime createdOn, global::System.Int32 lastModifiedBy, global::System.DateTime lastModifiedOn)
 {
     StudentParentContact studentParentContact = new StudentParentContact();
     studentParentContact.StudentParentContactId = studentParentContactId;
     studentParentContact.StudentParentId = studentParentId;
     studentParentContact.ContactTime = contactTime;
     studentParentContact.ContactMade = contactMade;
     studentParentContact.ContactNotes = contactNotes;
     studentParentContact.CreatedBy = createdBy;
     studentParentContact.CreatedOn = createdOn;
     studentParentContact.LastModifiedBy = lastModifiedBy;
     studentParentContact.LastModifiedOn = lastModifiedOn;
     return studentParentContact;
 }