コード例 #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;
 }