PostgreSqlDataSourceBase..::..From<(Of <(<'TObject>)>)> Method (String, Object)
This is used to directly query a table or view.
Namespace:
Tortuga.Chain.PostgreSqlAssembly: Tortuga.Chain.PostgreSql (in Tortuga.Chain.PostgreSql.dll)
Syntax
[SuppressMessageAttribute] public TableDbCommandBuilder<NpgsqlCommand, NpgsqlParameter, PostgreSqlLimitOption, TObject> From<TObject>( string whereClause, Object argumentValue )
<SuppressMessageAttribute> _ Public Function From(Of TObject) ( _ whereClause As String, _ argumentValue As Object _ ) As TableDbCommandBuilder(Of NpgsqlCommand, NpgsqlParameter, PostgreSqlLimitOption, TObject)
[SuppressMessageAttribute] public: generic<typename TObject> TableDbCommandBuilder<NpgsqlCommand^, NpgsqlParameter^, PostgreSqlLimitOption^, TObject>^ From( String^ whereClause, Object^ argumentValue )
Type Parameters
- TObject
- The type of the object.
Parameters
- whereClause
- Type: String
The where clause. Do not prefix this clause with "WHERE".
- argumentValue
- Type: Object
Optional argument value. Every property in the argument value must have a matching parameter in the WHERE clause