Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the sessions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTosessions(sessions sessions)
 {
     base.AddObject("sessions", sessions);
 }
Пример #2
0
 /// <summary>
 /// Create a new sessions 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 sessions Createsessions(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)
 {
     sessions sessions = new sessions();
     sessions.id = id;
     sessions.userName = userName;
     sessions.domainName = domainName;
     sessions.rdsSessionID = rdsSessionID;
     sessions.serverName = serverName;
     sessions.serverIPAddress = serverIPAddress;
     sessions.clusterName = clusterName;
     sessions.sessionCreateTime = sessionCreateTime;
     sessions.curSessionState = curSessionState;
     sessions.lastUpdated = lastUpdated;
     sessions.stateChangeCount = stateChangeCount;
     return sessions;
 }