예제 #1
0
 /// <summary>
 /// Create a new School object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="titel">Initial value of the Titel property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static School CreateSchool(global::System.Int32 id, global::System.String titel, global::System.Byte[] rowVersion)
 {
     School school = new School();
     school.Id = id;
     school.Titel = titel;
     school.RowVersion = rowVersion;
     return school;
 }
예제 #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);
 }