public RaceModifier(RaceModifierDAL dal) { this.RaceID = dal.RaceID; this.RaceModifierID = dal.RaceModifierID; this.ModifierAmount = dal.Modifier; this.StatID = dal.StatID; }
public RaceModifier FindRaceModifierByRaceModifierID(int RaceModifierID) { RaceModifier proposedReturnValue = null; RaceModifierDAL DataLayerObject = _context.FindRaceModifierByRaceModifierID(RaceModifierID); if (null != DataLayerObject) { proposedReturnValue = new RaceModifier(DataLayerObject); } return proposedReturnValue; }