Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the LabratoryServices EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLabratoryServices(LabratoryService labratoryService)
 {
     base.AddObject("LabratoryServices", labratoryService);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new LabratoryService object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="tooth">Initial value of the Tooth property.</param>
 /// <param name="shade">Initial value of the Shade property.</param>
 /// <param name="comment">Initial value of the Comment property.</param>
 /// <param name="dueDate">Initial value of the DueDate property.</param>
 /// <param name="inDate">Initial value of the InDate property.</param>
 /// <param name="proCelainFusedToMetal">Initial value of the ProCelainFusedToMetal property.</param>
 /// <param name="implant">Initial value of the Implant property.</param>
 /// <param name="allCeramic">Initial value of the AllCeramic property.</param>
 /// <param name="staining">Initial value of the Staining property.</param>
 /// <param name="patientId">Initial value of the PatientId property.</param>
 /// <param name="doctorId">Initial value of the DoctorId property.</param>
 /// <param name="labratoryId">Initial value of the LabratoryId property.</param>
 public static LabratoryService CreateLabratoryService(global::System.Int32 id, global::System.Int32 tooth, global::System.Byte shade, global::System.String comment, global::System.DateTime dueDate, global::System.DateTime inDate, global::System.Byte proCelainFusedToMetal, global::System.Byte implant, global::System.Byte allCeramic, global::System.Byte staining, global::System.Int32 patientId, global::System.Int32 doctorId, global::System.Int32 labratoryId)
 {
     LabratoryService labratoryService = new LabratoryService();
     labratoryService.Id = id;
     labratoryService.Tooth = tooth;
     labratoryService.Shade = shade;
     labratoryService.Comment = comment;
     labratoryService.DueDate = dueDate;
     labratoryService.InDate = inDate;
     labratoryService.ProCelainFusedToMetal = proCelainFusedToMetal;
     labratoryService.Implant = implant;
     labratoryService.AllCeramic = allCeramic;
     labratoryService.Staining = staining;
     labratoryService.PatientId = patientId;
     labratoryService.DoctorId = doctorId;
     labratoryService.LabratoryId = labratoryId;
     return labratoryService;
 }