/// <summary> /// Deprecated Method for adding a new object to the Testimonials EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTestimonials(Testimonial testimonial) { base.AddObject("Testimonials", testimonial); }
/// <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; }