コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Testimonials EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTestimonials(Testimonial testimonial)
 {
     base.AddObject("Testimonials", testimonial);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Testimonial object.
 /// </summary>
 /// <param name="testimonialId">Initial value of the testimonialId property.</param>
 public static Testimonial CreateTestimonial(global::System.Int32 testimonialId)
 {
     Testimonial testimonial = new Testimonial();
     testimonial.testimonialId = testimonialId;
     return testimonial;
 }