/// <summary> /// Create a new MembershipGroupStyle object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="classifiedAsMember">Initial value of the ClassifiedAsMember property.</param> /// <param name="syncWithWebSite">Initial value of the SyncWithWebSite property.</param> /// <param name="syncWithHandicapMaster">Initial value of the SyncWithHandicapMaster property.</param> /// <param name="allowBooking">Initial value of the AllowBooking property.</param> /// <param name="allowedClubCard">Initial value of the AllowedClubCard property.</param> public static MembershipGroupStyle CreateMembershipGroupStyle(global::System.Guid id, global::System.String name, global::System.Boolean classifiedAsMember, global::System.Boolean syncWithWebSite, global::System.Boolean syncWithHandicapMaster, global::System.Boolean allowBooking, global::System.Boolean allowedClubCard) { MembershipGroupStyle membershipGroupStyle = new MembershipGroupStyle(); membershipGroupStyle.ID = id; membershipGroupStyle.Name = name; membershipGroupStyle.ClassifiedAsMember = classifiedAsMember; membershipGroupStyle.SyncWithWebSite = syncWithWebSite; membershipGroupStyle.SyncWithHandicapMaster = syncWithHandicapMaster; membershipGroupStyle.AllowBooking = allowBooking; membershipGroupStyle.AllowedClubCard = allowedClubCard; return membershipGroupStyle; }
/// <summary> /// Deprecated Method for adding a new object to the MembershipGroupStyles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMembershipGroupStyles(MembershipGroupStyle membershipGroupStyle) { base.AddObject("MembershipGroupStyles", membershipGroupStyle); }
public MembershipGroupStyleModel(MembershipGroupStyle membershipGroupStyle) { _membershipGroupStyle = membershipGroupStyle; }