示例#1
0
 /// <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);
 }
示例#2
0
 /// <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;
 }