/// <summary>
 /// Create a new AffiliateUser object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId 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.Int32 userId, global::System.Guid apiKey, global::System.Boolean isDeleted)
 {
     AffiliateUser affiliateUser = new AffiliateUser();
     affiliateUser.UserId = userId;
     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);
 }