Esempio n. 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>
 /// <param name="displayOrder">Initial value of the DisplayOrder property.</param>
 public static Group CreateGroup(global::System.Int32 id, global::System.String name, global::System.Int32 displayOrder)
 {
     Group group = new Group();
     group.Id = id;
     group.Name = name;
     group.DisplayOrder = displayOrder;
     return group;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Groups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGroups(Group group)
 {
     base.AddObject("Groups", group);
 }