/// <summary> /// Create a new GroupType object. /// </summary> /// <param name="groupTypeId">Initial value of the GroupTypeId property.</param> /// <param name="type">Initial value of the Type property.</param> /// <param name="price">Initial value of the Price property.</param> /// <param name="militaryPrice">Initial value of the MilitaryPrice property.</param> public static GroupType CreateGroupType(global::System.Int32 groupTypeId, global::System.String type, global::System.Decimal price, global::System.Decimal militaryPrice) { GroupType groupType = new GroupType(); groupType.GroupTypeId = groupTypeId; groupType.Type = type; groupType.Price = price; groupType.MilitaryPrice = militaryPrice; return groupType; }
/// <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); }