コード例 #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>
 /// <param name="surgeonID">Initial value of the surgeonID property.</param>
 public static Testimonial CreateTestimonial(global::System.Int32 testimonialID, global::System.Int32 surgeonID)
 {
     Testimonial testimonial = new Testimonial();
     testimonial.testimonialID = testimonialID;
     testimonial.surgeonID = surgeonID;
     return testimonial;
 }