C# Class WorkerHost.SQL.SqlTextQuery

Afficher le fichier Open project: Azure-Samples/event-hubs-dotnet-import-from-sql Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public PerformQuery ( string query ) : object>>.IEnumerable
query string
Résultat object>>.IEnumerable

RunSqlCommand() public méthode

public RunSqlCommand ( string query ) : bool
query string
Résultat bool

SqlTextQuery() public méthode

public SqlTextQuery ( string sqlDatabaseConnectionString ) : System
sqlDatabaseConnectionString string
Résultat System