/// <summary>
 /// Deprecated Method for adding a new object to the HighSchools EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHighSchools(HighSchool highSchool)
 {
     base.AddObject("HighSchools", highSchool);
 }
예제 #2
0
 /// <summary>
 /// Create a new HighSchool object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="schoolName">Initial value of the SchoolName property.</param>
 /// <param name="regionId">Initial value of the RegionId property.</param>
 public static HighSchool CreateHighSchool(global::System.Guid id, global::System.String schoolName, global::System.Int32 regionId)
 {
     HighSchool highSchool = new HighSchool();
     highSchool.Id = id;
     highSchool.SchoolName = schoolName;
     highSchool.RegionId = regionId;
     return highSchool;
 }