/// <summary> /// Create a new curSessions object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="userName">Initial value of the userName property.</param> /// <param name="domainName">Initial value of the domainName property.</param> /// <param name="rdsSessionID">Initial value of the rdsSessionID property.</param> /// <param name="serverName">Initial value of the serverName property.</param> /// <param name="serverIPAddress">Initial value of the serverIPAddress property.</param> /// <param name="clusterName">Initial value of the clusterName property.</param> /// <param name="sessionCreateTime">Initial value of the sessionCreateTime property.</param> /// <param name="curSessionState">Initial value of the curSessionState property.</param> /// <param name="lastUpdated">Initial value of the lastUpdated property.</param> /// <param name="stateChangeCount">Initial value of the stateChangeCount property.</param> public static curSessions CreatecurSessions(global::System.Int32 id, global::System.String userName, global::System.String domainName, global::System.Int32 rdsSessionID, global::System.String serverName, global::System.String serverIPAddress, global::System.String clusterName, global::System.DateTime sessionCreateTime, global::System.Boolean curSessionState, global::System.DateTime lastUpdated, global::System.Int16 stateChangeCount) { curSessions curSessions = new curSessions(); curSessions.id = id; curSessions.userName = userName; curSessions.domainName = domainName; curSessions.rdsSessionID = rdsSessionID; curSessions.serverName = serverName; curSessions.serverIPAddress = serverIPAddress; curSessions.clusterName = clusterName; curSessions.sessionCreateTime = sessionCreateTime; curSessions.curSessionState = curSessionState; curSessions.lastUpdated = lastUpdated; curSessions.stateChangeCount = stateChangeCount; return curSessions; }
/// <summary> /// Deprecated Method for adding a new object to the curSessions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocurSessions(curSessions curSessions) { base.AddObject("curSessions", curSessions); }