示例#1
0
        private void LogEdit(Client entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.ModifyClient);

            creator.AddClient(entity.Id);
            creator.SaveToLog(false);
        }
示例#2
0
        private void LogDelete(Client entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.DeleteClient);

            creator.AddClient(entity.Id);
            creator.SaveToLog(false);
        }
示例#3
0
        private void LogDelete(Form entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.DeleteForm);

            creator.AddForm(entity.Id);
            creator.SaveToLog(false);
        }
示例#4
0
        private void LogAdd(Client entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.AddClient);

            creator.AddClient(entity.Id);
            creator.SaveToLog();
        }
示例#5
0
        private void LogAdd(Form entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.AddForm);

            creator.AddForm(entity.Id);
            creator.SaveToLog();
        }
示例#6
0
        private void LogEdit(Form entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.ModifyForm);

            creator.AddForm(entity.Id);
            creator.SaveToLog(false);
        }
示例#7
0
        private void LogEdit(Policy entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.ModifyPolicy);

            creator.AddPolicy(entity.Id);
            creator.SaveToLog(false);
        }
示例#8
0
        private void LogDelete(Policy entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.DeletePolicy);

            creator.AddPolicy(entity.Id);
            creator.SaveToLog(false);
        }
示例#9
0
        private void LogAdd(Policy entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.AddPolicy);

            creator.AddPolicy(entity.Id);
            creator.SaveToLog();
        }
示例#10
0
        private void LogDelete(Soa entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.DeleteSoa);

            creator.AddSoa(entity.Id);
            creator.SaveToLog(false);
        }
示例#11
0
        private void LogInvoiceEdit(Invoice entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.ModifyInvoice);

            creator.AddInvoice(entity.Id);
            creator.SaveToLog(false);
        }
示例#12
0
        private void LogEdit(Soa entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.ModifySoa);

            creator.AddSoa(entity.Id);
            creator.SaveToLog(false);
        }
示例#13
0
        private void LogAdd(Soa entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.AddSoa);

            creator.AddSoa(entity.Id);
            creator.SaveToLog();
        }