コード例 #1
0
ファイル: rdsmon.Designer.cs プロジェクト: nairraf/RDSMon
 /// <summary>
 /// Deprecated Method for adding a new object to the serverStats EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToserverStats(serverStats serverStats)
 {
     base.AddObject("serverStats", serverStats);
 }
コード例 #2
0
ファイル: rdsmon.Designer.cs プロジェクト: nairraf/RDSMon
 /// <summary>
 /// Create a new serverStats object.
 /// </summary>
 /// <param name="runtime">Initial value of the runtime 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>
 public static serverStats CreateserverStats(global::System.DateTime runtime, global::System.String serverName, global::System.String serverIPAddress, global::System.String clusterName)
 {
     serverStats serverStats = new serverStats();
     serverStats.runtime = runtime;
     serverStats.serverName = serverName;
     serverStats.serverIPAddress = serverIPAddress;
     serverStats.clusterName = clusterName;
     return serverStats;
 }