示例#1
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);
 }
示例#2
0
 /// <summary>
 /// Create a new Group object.
 /// </summary>
 /// <param name="groupID">Initial value of the GroupID property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 public static Group CreateGroup(global::System.Int32 groupID, global::System.DateTime createdDate)
 {
     Group group = new Group();
     group.GroupID = groupID;
     group.CreatedDate = createdDate;
     return group;
 }