Example #1
0
 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;
     }
 }
Example #2
0
 public static VaaaN.MLFF.Libraries.CommonLibrary.CBE.LaneCBE GetLaneById(CBE.LaneCBE lane)
 {
     return(VaaaN.MLFF.Libraries.CommonLibrary.DAL.LaneDAL.GetLaneById(lane));
 }
Example #3
0
 public static VaaaN.MLFF.Libraries.CommonLibrary.CBE.LaneCollection GetLaneByPlazaId(CBE.LaneCBE lane)
 {
     return(VaaaN.MLFF.Libraries.CommonLibrary.DAL.LaneDAL.GetLaneByPlazaId(lane));
 }