Ejemplo n.º 1
0
 /// <summary>
 /// Create a new SchoolPart object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="school_SchoolPart">Initial value of the School_SchoolPart property.</param>
 /// <param name="schoolPart_District">Initial value of the SchoolPart_District property.</param>
 public static SchoolPart CreateSchoolPart(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.Int32 school_SchoolPart, global::System.Int32 schoolPart_District)
 {
     SchoolPart schoolPart = new SchoolPart();
     schoolPart.Id = id;
     schoolPart.RowVersion = rowVersion;
     schoolPart.School_SchoolPart = school_SchoolPart;
     schoolPart.SchoolPart_District = schoolPart_District;
     return schoolPart;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SchoolParts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSchoolParts(SchoolPart schoolPart)
 {
     base.AddObject("SchoolParts", schoolPart);
 }