Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the GroupTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGroupTypes(GroupType groupType)
 {
     base.AddObject("GroupTypes", groupType);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new GroupType object.
 /// </summary>
 /// <param name="groupTypeId">Initial value of the GroupTypeId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 public static GroupType CreateGroupType(global::System.Int32 groupTypeId, global::System.String name, global::System.DateTime created)
 {
     GroupType groupType = new GroupType();
     groupType.GroupTypeId = groupTypeId;
     groupType.Name = name;
     groupType.Created = created;
     return groupType;
 }