/// <summary>
 /// Deprecated Method for adding a new object to the Referrals EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToReferrals(Referral referral)
 {
     base.AddObject("Referrals", referral);
 }
 /// <summary>
 /// Create a new Referral object.
 /// </summary>
 /// <param name="blogId">Initial value of the BlogId property.</param>
 /// <param name="blogPostId">Initial value of the BlogPostId property.</param>
 /// <param name="lastReferralDate">Initial value of the LastReferralDate property.</param>
 public static Referral CreateReferral(global::System.Guid blogId, global::System.Guid blogPostId, global::System.DateTime lastReferralDate)
 {
     Referral referral = new Referral();
     referral.BlogId = blogId;
     referral.BlogPostId = blogPostId;
     referral.LastReferralDate = lastReferralDate;
     return referral;
 }