/// <summary> /// Deprecated Method for adding a new object to the DetalleServicios EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDetalleServicios(DetalleServicio detalleServicio) { base.AddObject("DetalleServicios", detalleServicio); }
/// <summary> /// Create a new DetalleServicio object. /// </summary> /// <param name="servicioId">Initial value of the ServicioId property.</param> /// <param name="detalleServicioId">Initial value of the DetalleServicioId property.</param> /// <param name="campo">Initial value of the Campo property.</param> /// <param name="baja">Initial value of the Baja property.</param> /// <param name="esReferencia">Initial value of the EsReferencia property.</param> public static DetalleServicio CreateDetalleServicio(global::System.Int32 servicioId, global::System.Int32 detalleServicioId, global::System.String campo, global::System.Boolean baja, global::System.Boolean esReferencia) { DetalleServicio detalleServicio = new DetalleServicio(); detalleServicio.ServicioId = servicioId; detalleServicio.DetalleServicioId = detalleServicioId; detalleServicio.Campo = campo; detalleServicio.Baja = baja; detalleServicio.EsReferencia = esReferencia; return detalleServicio; }