/// <summary> /// Deprecated Method for adding a new object to the GroupTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGroupTypes(GroupType groupType) { base.AddObject("GroupTypes", groupType); }
/// <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; }