Exemplo n.º 1
0
 /// <summary>
 /// Create a new Grouping object.
 /// </summary>
 /// <param name="groupID">Initial value of the GroupID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="officialCourse">Initial value of the OfficialCourse property.</param>
 /// <param name="dateCreated">Initial value of the DateCreated property.</param>
 public static Grouping CreateGrouping(global::System.Int32 groupID, global::System.String name, global::System.Boolean officialCourse, global::System.DateTime dateCreated)
 {
     Grouping grouping = new Grouping();
     grouping.GroupID = groupID;
     grouping.Name = name;
     grouping.OfficialCourse = officialCourse;
     grouping.DateCreated = dateCreated;
     return grouping;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Groupings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGroupings(Grouping grouping)
 {
     base.AddObject("Groupings", grouping);
 }