ConnectionExtensionsApplySql Method (IConnection, Command, Object) |
Get the result of executing the specified SQL query
Namespace: Innovator.ClientAssembly: Innovator.Client (in Innovator.Client.dll) Version: 2016.1.15.1759 (2016.01.15.1759)
Syntax public static IReadOnlyResult ApplySql(
this IConnection conn,
Command sql,
params Object[] parameters
)
<ExtensionAttribute>
Public Shared Function ApplySql (
conn As IConnection,
sql As Command,
ParamArray parameters As Object()
) As IReadOnlyResult
Parameters
- conn
- Type: Innovator.ClientIConnection
Connection to execute the query on - sql
- Type: Innovator.ClientCommand
SQL query to be performed. If parameters are specified, they will be substituted into the query - parameters
- Type: SystemObject
Parameters to be injected into the query
Return Value
Type:
IReadOnlyResultA read-only result
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IConnection. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also