Example #1
0
 /// <summary>
 /// Create a new School object.
 /// </summary>
 /// <param name="schoolId">Initial value of the SchoolId property.</param>
 /// <param name="schoolName">Initial value of the SchoolName property.</param>
 /// <param name="startDate">Initial value of the StartDate property.</param>
 /// <param name="endDate">Initial value of the EndDate property.</param>
 /// <param name="major">Initial value of the Major property.</param>
 /// <param name="resumeIDKey">Initial value of the ResumeIDKey property.</param>
 public static School CreateSchool(global::System.Int32 schoolId, global::System.String schoolName, global::System.DateTime startDate, global::System.DateTime endDate, global::System.String major, global::System.String resumeIDKey)
 {
     School school = new School();
     school.SchoolId = schoolId;
     school.SchoolName = schoolName;
     school.StartDate = startDate;
     school.EndDate = endDate;
     school.Major = major;
     school.ResumeIDKey = resumeIDKey;
     return school;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Schools EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSchools(School school)
 {
     base.AddObject("Schools", school);
 }