コード例 #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="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Group CreateGroup(global::System.String id, global::System.Byte[] rowVersion)
 {
     Group group = new Group();
     group.Id = id;
     group.RowVersion = rowVersion;
     return group;
 }