상속: System.Data.Common.DbConnection
예제 #1
0
 //
 // Summary:
 //     Initializes a new instance of the System.Data.SqlClient.SqlCommand class with
 //     the text of the query and a System.Data.SqlClient.SqlConnection.
 //
 // Parameters:
 //   cmdText:
 //     The text of the query.
 //
 //   connection:
 //     A System.Data.SqlClient.SqlConnection that represents the connection to an instance
 //     of SQL Server.
 public cJSONCommand(string cmdText, cJSONServerConnection connection)
 {
     m_cmdText    = cmdText;
     m_connection = connection;
 }
예제 #2
0
 //
 // Summary:
 //     Initializes a new instance of the System.Data.SqlClient.SqlCommand class with
 //     the text of the query and a System.Data.SqlClient.SqlConnection.
 //
 // Parameters:
 //   cmdText:
 //     The text of the query.
 //
 //   connection:
 //     A System.Data.SqlClient.SqlConnection that represents the connection to an instance
 //     of SQL Server.
 public cJSONCommand(string cmdText, cJSONServerConnection connection)
 {
     m_cmdText = cmdText;
     m_connection = connection;
 }