/// <summary> /// Create a new Atencion object. /// </summary> /// <param name="nroAtencion">Initial value of the NroAtencion property.</param> /// <param name="medico">Initial value of the Medico property.</param> /// <param name="prestacion">Initial value of the Prestacion property.</param> /// <param name="precio">Initial value of the Precio property.</param> /// <param name="descuento">Initial value of the Descuento property.</param> public static Atencion CreateAtencion(global::System.Int32 nroAtencion, global::System.String medico, global::System.String prestacion, global::System.Int32 precio, global::System.Int32 descuento) { Atencion atencion = new Atencion(); atencion.NroAtencion = nroAtencion; atencion.Medico = medico; atencion.Prestacion = prestacion; atencion.Precio = precio; atencion.Descuento = descuento; return atencion; }
/// <summary> /// Deprecated Method for adding a new object to the Atencion EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAtencion(Atencion atencion) { base.AddObject("Atencion", atencion); }