Beispiel #1
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);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new School object.
 /// </summary>
 /// <param name="schoolID">Initial value of the SchoolID property.</param>
 /// <param name="school_Name">Initial value of the School_Name property.</param>
 public static School CreateSchool(global::System.Int32 schoolID, global::System.String school_Name)
 {
     School school = new School();
     school.SchoolID = schoolID;
     school.School_Name = school_Name;
     return school;
 }