/// <summary>
 /// Create a new MembershipGroupAge object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="calculationDate">Initial value of the CalculationDate property.</param>
 /// <param name="minAge">Initial value of the MinAge property.</param>
 /// <param name="maxAge">Initial value of the MaxAge property.</param>
 /// <param name="minMembershipYears">Initial value of the MinMembershipYears property.</param>
 public static MembershipGroupAge CreateMembershipGroupAge(global::System.Guid id, global::System.String name, global::System.DateTime calculationDate, global::System.Int32 minAge, global::System.Int32 maxAge, global::System.Int32 minMembershipYears)
 {
     MembershipGroupAge membershipGroupAge = new MembershipGroupAge();
     membershipGroupAge.ID = id;
     membershipGroupAge.Name = name;
     membershipGroupAge.CalculationDate = calculationDate;
     membershipGroupAge.MinAge = minAge;
     membershipGroupAge.MaxAge = maxAge;
     membershipGroupAge.MinMembershipYears = minMembershipYears;
     return membershipGroupAge;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the MembershipGroupAges EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMembershipGroupAges(MembershipGroupAge membershipGroupAge)
 {
     base.AddObject("MembershipGroupAges", membershipGroupAge);
 }
        public MembershipGroupAgeModel(MembershipGroupAge membershipGroupAge)
        {
            _membershipGroupAge = membershipGroupAge;

        }