private void setSettings(int id, string name, string winname, string lastMachine, DateTime lastLogin, int loginCount, DateTime lastLogout, int defaultFolder, string defaultProtocol, DateTime heartbeat, int updatemode, UserVisuals visualSettings, bool deletequickconnect) { _Id = id; _Name = name; _Winname = winname; _LastMachine = lastMachine; _LastLogin = lastLogin; _LoginCount = loginCount; _LastLogout = lastLogout; _DefaultFolder = defaultFolder; _DefaultProtocol = defaultProtocol; _Heartbeat = heartbeat; _Updatemode = updatemode; _VisualSettings = visualSettings; _DeleteQuickConnect = deletequickconnect; }
public User(int id, string name, string winname, string lastMachine, DateTime lastLogin, int loginCount, DateTime lastLogout, int defaultFolder, string defaultProtocol, DateTime heartbeat, int updatemode, UserVisuals visualSettings, bool deletequickconnect) { setSettings(id, name, winname, lastMachine, lastLogin, loginCount, lastLogout, defaultFolder, defaultProtocol, heartbeat, updatemode, visualSettings, deletequickconnect); }