Exemple #1
0
 public RiskMitigationFormStub(Business.Entities.RiskMitigation riskMitigation)
 {
     MitigationId   = riskMitigation.MitigationId;
     RiskId         = riskMitigation.RiskId;
     MitigationPlan = riskMitigation.MitigationPlan;
     Plan           = riskMitigation.Plan;
     Actual         = riskMitigation.Actual;
     Evidence       = riskMitigation.Evidence;
     notes          = riskMitigation.notes;
     ModifiedBy     = riskMitigation.ModifiedBy;
     ModifiedDate   = riskMitigation.ModifiedDate;
     CreatedBy      = riskMitigation.CreatedBy;
     CreatedDate    = riskMitigation.CreatedDate;
     IsDeleted      = riskMitigation.IsDeleted;
     FillMonthOptions();
 }
Exemple #2
0
        public Business.Entities.RiskMitigation GetDbObject()
        {
            Business.Entities.RiskMitigation dbItem = new Business.Entities.RiskMitigation();
            dbItem.MitigationId   = MitigationId;
            dbItem.RiskId         = RiskId;
            dbItem.MitigationPlan = MitigationPlan;
            dbItem.Plan           = Plan;
            dbItem.Actual         = Actual;
            dbItem.Evidence       = Evidence;
            dbItem.notes          = notes;
            dbItem.ModifiedBy     = ModifiedBy;
            dbItem.ModifiedDate   = ModifiedDate;
            dbItem.CreatedBy      = CreatedBy;
            dbItem.CreatedDate    = CreatedDate;
            dbItem.IsDeleted      = IsDeleted;

            return(dbItem);
        }