Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MembershipLinkTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMembershipLinkTypes(MembershipLinkType membershipLinkType)
 {
     base.AddObject("MembershipLinkTypes", membershipLinkType);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new MembershipLinkType object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="useJointClubCardAccountBar">Initial value of the UseJointClubCardAccountBar property.</param>
 /// <param name="useJointClubCardAccountProShop">Initial value of the UseJointClubCardAccountProShop property.</param>
 /// <param name="useSingleMembershipAccount">Initial value of the UseSingleMembershipAccount property.</param>
 /// <param name="renewTogether">Initial value of the RenewTogether property.</param>
 /// <param name="autoRenew">Initial value of the AutoRenew property.</param>
 /// <param name="autoResign">Initial value of the AutoResign property.</param>
 public static MembershipLinkType CreateMembershipLinkType(global::System.Guid id, global::System.Boolean useJointClubCardAccountBar, global::System.Boolean useJointClubCardAccountProShop, global::System.Boolean useSingleMembershipAccount, global::System.Boolean renewTogether, global::System.Boolean autoRenew, global::System.Boolean autoResign)
 {
     MembershipLinkType membershipLinkType = new MembershipLinkType();
     membershipLinkType.ID = id;
     membershipLinkType.UseJointClubCardAccountBar = useJointClubCardAccountBar;
     membershipLinkType.UseJointClubCardAccountProShop = useJointClubCardAccountProShop;
     membershipLinkType.UseSingleMembershipAccount = useSingleMembershipAccount;
     membershipLinkType.RenewTogether = renewTogether;
     membershipLinkType.AutoRenew = autoRenew;
     membershipLinkType.AutoResign = autoResign;
     return membershipLinkType;
 }