public override DataSet Clone() { DSLServer cln = ((DSLServer)(base.Clone())); cln.InitVars(); return(cln); }
public DSLServer GetServerList() { DSLServer ds = new DSLServer(); sqlDAServer.SelectCommand.Parameters["@serverId"].Value = null; sqlDAServer.Fill(ds); return(ds); }
public DSLServer GetServer(int serverId) { DSLServer ds = new DSLServer(); sqlDAServer.SelectCommand.Parameters["@serverId"].Value = serverId; sqlDAServer.Fill(ds); if (ds.TServers.Count == 1) { return(ds); } else { return(null); } }
public void GetServerList(DSLServer ds) { sqlDAServer.SelectCommand.Parameters["@serverId"].Value = null; sqlDAServer.Fill(ds); }
public void GetServer(int serverId, DSLServer ds) { sqlDAServer.SelectCommand.Parameters["@serverId"].Value = serverId; sqlDAServer.Fill(ds); }