C# Class WorkerHost.SQL.SqlTextQuery

Exibir arquivo Open project: Azure-Samples/event-hubs-dotnet-import-from-sql Class Usage Examples

Public Methods

Method Description
PerformQuery ( string query ) : object>>.IEnumerable
RunSqlCommand ( string query ) : bool
SqlTextQuery ( string sqlDatabaseConnectionString ) : System

Private Methods

Method Description
PerformNonQuery ( SqlCommand commandToRun ) : bool
PerformQuery ( SqlCommand commandToRun ) : object>>.IEnumerable
PrepareSqlCommand ( string query ) : SqlCommand
Serialize ( System.Data.SqlClient.SqlDataReader reader ) : object>>.IEnumerable

Method Details

PerformQuery() public method

public PerformQuery ( string query ) : object>>.IEnumerable
query string
return object>>.IEnumerable

RunSqlCommand() public method

public RunSqlCommand ( string query ) : bool
query string
return bool

SqlTextQuery() public method

public SqlTextQuery ( string sqlDatabaseConnectionString ) : System
sqlDatabaseConnectionString string
return System