/// <summary>
 /// Create a new AffiliateUser object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="affiliateUserKey">Initial value of the AffiliateUserKey property.</param>
 /// <param name="apiKey">Initial value of the ApiKey property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 public static AffiliateUser CreateAffiliateUser(global::System.Guid userId, global::System.String affiliateUserKey, global::System.Guid apiKey, global::System.Boolean isDeleted)
 {
     AffiliateUser affiliateUser = new AffiliateUser();
     affiliateUser.UserId = userId;
     affiliateUser.AffiliateUserKey = affiliateUserKey;
     affiliateUser.ApiKey = apiKey;
     affiliateUser.IsDeleted = isDeleted;
     return affiliateUser;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the AffiliateUsers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAffiliateUsers(AffiliateUser affiliateUser)
 {
     base.AddObject("AffiliateUsers", affiliateUser);
 }