Esempio n. 1
0
        public void UpdateSvnUser(SvnUserModel user)
        {
            var query = $"update SVN_User set DomainAccount='{user.DomainAccount}',RealName='{user.RealName}',IsUse='{user.IsUse}',Description='{user.Description}' where ID='{user.ID}'";

            _repository.Excute(query);
        }
Esempio n. 2
0
        public void AddSvnUser(SvnUserModel user)
        {
            var query = $"insert into SVN_User(ID,DomainAccount,RealName,IsUse,Description) values('{user.ID}','{user.DomainAccount}','{user.RealName}',{user.IsUse},'{user.Description}')";

            _repository.Excute(query);
        }