コード例 #1
0
        public void AddDefendantDecision(vw_DefendantsDecisionData Defendants)
        {
            Cases_DefendantsDecision DefObj = new Cases_DefendantsDecision();

            DefObj.CaseDefendantId   = Defendants.CaseDefendantId;
            DefObj.IsGuilty          = Defendants.IsGuilty;
            DefObj.SessionDessionId  = Defendants.SessionDessionId;
            DefObj.PunishmentDetails = Defendants.PunishmentDetails;
            DefObj.PunishmentType    = Defendants.PunishmentType;
            DefObj.RestrictionNo     = Defendants.RestrictionNo;
            DefObj.RestrictionYear   = Defendants.RestrictionYear;
            DefObj.CreatedAt         = DateTime.Now;
            DefObj.CreatedBy         = "xx";
            this.Add(DefObj);
            this.Save();
        }
コード例 #2
0
 public void AddDefendantDecision(vw_DefendantsDecisionData Defendants)
 {
     DefendantsDecisionRepository.AddDefendantDecision(Defendants);
 }