ExecuteScalar Method

SimpleEssentials

IDbProvider..::..ExecuteScalar Method

Executes the scalar.

Namespace:  SimpleEssentials.DataProvider
Assembly:  SimpleEssentials (in SimpleEssentials.dll)

Syntax


int ExecuteScalar(
	string sql,
	Object param,
	CacheSettings cacheSettings,
	bool invalidateCache
)
Function ExecuteScalar ( _
	sql As String, _
	param As Object, _
	cacheSettings As CacheSettings, _
	invalidateCache As Boolean _
) As Integer
int^ ExecuteScalar(
	String^ sql, 
	Object^ param, 
	CacheSettings^ cacheSettings, 
	bool^ invalidateCache
)

Parameters

sql
Type: String
The SQL.
param
Type: Object
The parameter.
cacheSettings
Type: SimpleEssentials.Cache..::..CacheSettings
The cache settings.
invalidateCache
Type: Boolean
if set to true [invalidate cache].

Return Value

TODO