예제 #1
0
 /// <summary>
 /// Create a new Group object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Group CreateGroup(global::System.Int32 id, global::System.String name)
 {
     Group group = new Group();
     group.Id = id;
     group.Name = name;
     return group;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Group EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGroup(Group group)
 {
     base.AddObject("Group", group);
 }