예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Courses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCourses(Cours cours)
 {
     base.AddObject("Courses", cours);
 }
예제 #2
0
 /// <summary>
 /// Create a new Cours 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 Cours CreateCours(global::System.Int32 id, global::System.String title, global::System.Byte[] rowVersion)
 {
     Cours cours = new Cours();
     cours.Id = id;
     cours.Title = title;
     cours.RowVersion = rowVersion;
     return cours;
 }