public SegmentTableMappingList()
 {
     this._segmentMappings = new List <SegmentTableMapping>();
     try
     {
         _repo = new SegmentMappingRepository(AppConfiguration.DBProvider, AppConfiguration.DBConnection);
     }
     catch { }
 }
 public SegmentTableMapping(string segmentName, string tableName)
 {
     this._segmentName = segmentName;
     this._tableName   = tableName;
     _columnMappings   = new List <SegmentDBColumnMapping>();
     try
     {
         _repo = new SegmentMappingRepository(AppConfiguration.DBProvider, AppConfiguration.DBConnection);
     }
     catch { }
 }