public static CBE.LaneCBE GetLaneById(CBE.LaneCBE lane) { CBE.LaneCollection lanes = new CBE.LaneCollection(); try { string spName = Constants.oraclePackagePrefix + "LANE_GETBYID"; DbCommand command = VaaaN.MLFF.Libraries.CommonLibrary.DBA.DBAccessor.GetStoredProcCommand(spName); command.Parameters.Add(VaaaN.MLFF.Libraries.CommonLibrary.DBA.DBAccessor.CreateDbParameter(ref command, "P_LANE_ID", DbType.Int32, lane.LaneId, ParameterDirection.Input)); lanes = ConvertDataTableToCollection(VaaaN.MLFF.Libraries.CommonLibrary.DBA.DBAccessor.LoadDataSet(command, tableName).Tables[tableName]); return(lanes[0]); } catch (Exception ex) { throw ex; } }
public static VaaaN.MLFF.Libraries.CommonLibrary.CBE.LaneCBE GetLaneById(CBE.LaneCBE lane) { return(VaaaN.MLFF.Libraries.CommonLibrary.DAL.LaneDAL.GetLaneById(lane)); }
public static VaaaN.MLFF.Libraries.CommonLibrary.CBE.LaneCollection GetLaneByPlazaId(CBE.LaneCBE lane) { return(VaaaN.MLFF.Libraries.CommonLibrary.DAL.LaneDAL.GetLaneByPlazaId(lane)); }