Пример #1
0
 public RaceModifier(RaceModifierDAL dal)
 {
     this.RaceID         = dal.RaceID;
     this.RaceModifierID = dal.RaceModifierID;
     this.ModifierAmount = dal.Modifier;
     this.StatID         = dal.StatID;
 }
Пример #2
0
 public RaceModifier FindRaceModifierByRaceModifierID(int RaceModifierID)
 {
     RaceModifier proposedReturnValue = null;
     RaceModifierDAL DataLayerObject = _context.FindRaceModifierByRaceModifierID(RaceModifierID);
     if (null != DataLayerObject)
     {
         proposedReturnValue = new RaceModifier(DataLayerObject);
     }
     return proposedReturnValue;
 }