Tortuga.Chain Namespace
Tortuga.Chain.Metadata Namespace

MySqlDataSourceBase..::..From<(Of <(<'TObject>)>)> Method (String, Object)

This is used to directly query a table or view.

Namespace:  Tortuga.Chain.MySql
Assembly:  Tortuga.Chain.MySql (in Tortuga.Chain.MySql.dll)

Syntax


[SuppressMessageAttribute]
public TableDbCommandBuilder<MySqlCommand, MySqlParameter, MySqlLimitOption, TObject> From<TObject>(
	string whereClause,
	Object argumentValue
)
<SuppressMessageAttribute> _
Public Function From(Of TObject) ( _
	whereClause As String, _
	argumentValue As Object _
) As TableDbCommandBuilder(Of MySqlCommand, MySqlParameter, MySqlLimitOption, TObject)
[SuppressMessageAttribute]
public:
generic<typename TObject>
TableDbCommandBuilder<MySqlCommand^, MySqlParameter^, MySqlLimitOption^, 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

Return Value