/// <summary> /// Deprecated Method for adding a new object to the Groups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGroups(Group group) { base.AddObject("Groups", group); }
/// <summary> /// Create a new Group object. /// </summary> /// <param name="groupId">Initial value of the GroupId property.</param> /// <param name="importance">Initial value of the Importance property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="updated">Initial value of the Updated property.</param> /// <param name="stickToFlight">Initial value of the StickToFlight property.</param> /// <param name="groupTypeId">Initial value of the GroupTypeId property.</param> public static Group CreateGroup(global::System.Int32 groupId, global::System.Decimal importance, global::System.DateTime created, global::System.DateTime updated, global::System.Boolean stickToFlight, global::System.Int32 groupTypeId) { Group group = new Group(); group.GroupId = groupId; group.Importance = importance; group.Created = created; group.Updated = updated; group.StickToFlight = stickToFlight; group.GroupTypeId = groupTypeId; return group; }