Пример #1
0
 /// <summary>
 /// Create a new SchoolType object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static SchoolType CreateSchoolType(global::System.Int32 id, global::System.String title, global::System.Byte[] rowVersion)
 {
     SchoolType schoolType = new SchoolType();
     schoolType.Id = id;
     schoolType.Title = title;
     schoolType.RowVersion = rowVersion;
     return schoolType;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SchoolTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSchoolTypes(SchoolType schoolType)
 {
     base.AddObject("SchoolTypes", schoolType);
 }