public AbstractBikeRow(BikeTable tabletype, DataRow dr, Dictionary <string, int> colnbr)
 {
     Bikes = new MeasureBikes(dr, colnbr);
     if (tabletype != null)
     {
         ChildList = (BikeTable)Activator.CreateInstance(tabletype.GetType());
     }
 }
Exemple #2
0
 /// <summary>
 /// Each specific table will override this method to return appropriate row type
 /// </summary>
 /// <param name="dr"></param>
 /// <param name="colnbr"></param>
 /// <returns></returns>
 public virtual AbstractBikeRow GenerateNewRow(BikeTable typename, DataRow dr, Dictionary <string, int> colnbr)
 {
     throw new NotImplementedException();
 }