public static CBE.VehicleClassMappingCBE GetVehicleClassMappingById(CBE.VehicleClassMappingCBE vehicle) // what user ???? CJS { try { CBE.VehicleClassMappingCollection vehicles = new CBE.VehicleClassMappingCollection(); string spName = Constants.oraclePackagePrefix + "VEHICLE_CLASS_MAPPING_GETBYID"; DbCommand command = VaaaN.MLFF.Libraries.CommonLibrary.DBA.DBAccessor.GetStoredProcCommand(spName); command.Parameters.Add(VaaaN.MLFF.Libraries.CommonLibrary.DBA.DBAccessor.CreateDbParameter(ref command, "P_MAPPING_VEHICLE_CLASS_ID", DbType.Int32, vehicle.MappingVehicleClassId, ParameterDirection.Input)); vehicles = ConvertDataTableToCollection(VaaaN.MLFF.Libraries.CommonLibrary.DBA.DBAccessor.LoadDataSet(command, tableName).Tables[tableName]); return(vehicles[0]); } catch (Exception ex) { throw ex; } }
public static VaaaN.MLFF.Libraries.CommonLibrary.CBE.VehicleClassMappingCollection GetVehicleClassByANPRNameCollection(CBE.VehicleClassMappingCBE vehicleClassCBE) { return(VaaaN.MLFF.Libraries.CommonLibrary.DAL.VehicleClassMappingDAL.GetVehicleClassByANPRNameCollection(vehicleClassCBE)); }
public static VaaaN.MLFF.Libraries.CommonLibrary.CBE.VehicleClassMappingCBE GetVehicleClassMappingById(CBE.VehicleClassMappingCBE vehicleClassCBE) { return(VaaaN.MLFF.Libraries.CommonLibrary.DAL.VehicleClassMappingDAL.GetVehicleClassMappingById(vehicleClassCBE)); }