private void Load(DotNetNancy.Rules.RuleSet.DataAccess.DTO.RuleStatistic ruleStatsDto)
 {
     _ruleStatsDtos = new List <DotNetNancy.Rules.RuleSet.DataAccess.DTO.RuleStatistic>();
     _ruleStatsDtos.Add(ruleStatsDto);
     this.Clear();
     this.Add(new RuleStat(ruleStatsDto));
 }
Exemple #2
0
 internal RuleStat(DotNetNancy.Rules.RuleSet.DataAccess.DTO.RuleStatistic dto)
 {
     _ruleStatID    = dto.RuleStatisticID;
     _applicationID = dto.ApplicationID;
     _typeID        = dto.TypeID;
     _ruleID        = dto.RuleID;
     _ruleName      = dto.RuleName;
     _result        = dto.Result;
     _dateInserted  = dto.DateInserted;
     _referenceID   = dto.ReferenceID;
 }