Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MembershipGroupEPOS EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMembershipGroupEPOS(MembershipGroupEPOS membershipGroupEPOS)
 {
     base.AddObject("MembershipGroupEPOS", membershipGroupEPOS);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new MembershipGroupEPOS object.
 /// </summary>
 /// <param name="membershipGroupID">Initial value of the MembershipGroupID property.</param>
 /// <param name="allowedClubCard">Initial value of the AllowedClubCard property.</param>
 /// <param name="pointsBasedMembership">Initial value of the PointsBasedMembership property.</param>
 public static MembershipGroupEPOS CreateMembershipGroupEPOS(global::System.Guid membershipGroupID, global::System.Boolean allowedClubCard, global::System.Boolean pointsBasedMembership)
 {
     MembershipGroupEPOS membershipGroupEPOS = new MembershipGroupEPOS();
     membershipGroupEPOS.MembershipGroupID = membershipGroupID;
     membershipGroupEPOS.AllowedClubCard = allowedClubCard;
     membershipGroupEPOS.PointsBasedMembership = pointsBasedMembership;
     return membershipGroupEPOS;
 }