ExtensionMethodsQueryT Method
Namespace: Centralpoint.WebAssembly: Centralpoint.Web (in Centralpoint.Web.dll) Version: 1.0.0.0 (1.0.0.0)
public static IEnumerable<T> Query<T>(
this IDbConnection connection,
Func<T> typeBuilder,
string sql
)
<ExtensionAttribute>
Public Shared Function Query(Of T) (
connection As IDbConnection,
typeBuilder As Func(Of T),
sql As String
) As IEnumerable(Of T)
- connection IDbConnection
-
- typeBuilder FuncT
-
- sql String
-
- T
IEnumerableTIn Visual Basic and C#, you can call this method as an instance method on any object of type
IDbConnection. 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).