public void CrearDetalleSolicitud(DetalleSolicitud detalleSolicitud) { DbCommand command = DataBase.GetStoredProcCommand("CrearDetalleSolicitud"); DataBase.AddInParameter(command, "ds_id", DbType.Int32, detalleSolicitud.ds_id); DataBase.AddInParameter(command, "sl_id ", DbType.Int32, detalleSolicitud.sl_id); DataBase.AddInParameter(command, "material_id", DbType.Int32, detalleSolicitud.material_id); DataBase.AddInParameter(command, "ds_cantidad_solicitada", DbType.Decimal, detalleSolicitud.ds_cantidad_solicitada); DataBase.AddInParameter(command, "ds_cantidad_asignada", DbType.Decimal, detalleSolicitud.ds_cantidad_asignada); DataBase.AddInParameter(command, "ds_cantidad_aceptada", DbType.Decimal, detalleSolicitud.ds_cantidad_aceptada); DataBase.ExecuteNonQuery(command); }
public void ModificarDetalleSolicitud(DetalleSolicitud detalleSolicitud) { throw new NotImplementedException(); }