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); }
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); }