| SqlUtilityExecuteQuery Method |
Executes the SQL query provided.
Namespace:
Galactic.Sql
Assembly:
Galactic.Sql (in Galactic.Sql.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public abstract List<SqlRow> ExecuteQuery(
string query,
string connectionString,
EventLog log
)
Public MustOverride Function ExecuteQuery (
query As String,
connectionString As String,
log As EventLog
) As List(Of SqlRow)
public:
virtual List<SqlRow^>^ ExecuteQuery(
String^ query,
String^ connectionString,
EventLog^ log
) abstract
abstract ExecuteQuery :
query : string *
connectionString : string *
log : EventLog -> List<SqlRow>
Parameters
- query
- Type: SystemString
The query text to execute. - connectionString
- Type: SystemString
The connection string of the database to execute the script against. - log
- Type: Galactic.EventLogEventLog
The event log to log execptions to. May be null for no logging.
Return Value
Type:
ListSqlRowA list of rows of data returned from the query.
See Also