public void Insert(string UserName, string PassWord, string Domain, string PathUNC) { SysConfigRadio item = new SysConfigRadio(); item.UserName = UserName; item.PassWord = PassWord; item.Domain = Domain; item.PathUNC = PathUNC; item.Save(UserName); }
public void Update(int SysId, string UserName, string PassWord, string Domain, string PathUNC) { SysConfigRadio item = new SysConfigRadio(); item.MarkOld(); item.IsLoaded = true; item.SysId = SysId; item.UserName = UserName; item.PassWord = PassWord; item.Domain = Domain; item.PathUNC = PathUNC; item.Save(UserName); }