예제 #1
0
 public override void Reset()
 {
     Commands.Reset();
     Profiles.Reset();
     Seasons.Reset();
     Misc.Reset();
 }
예제 #2
0
 private void mapSeasons(DataTable seasons)
 {
     Seasons.Reset();
     foreach (DataRow row in seasons.Rows)
     {
         try
         {
             var season = ClassMapper.Map <Season>(row);
             season.ParseData();
             Seasons.Add(season);
         }
         catch (Exception ex)
         {
             Console.WriteLine(ex);
         }
     }
 }