Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdoTemplate.ExecuteScalar Method

Execute the query with a command created via IDbCommandCreator and parameters

Overload List

Execute the query with a command created via IDbCommandCreator and parameters

public IDictionary ExecuteScalar(IDbCommandCreator)

Execute the query with the specified command text.

public object ExecuteScalar(CommandType,string)

Execute the query with the specified command text and parameters returning a scalar result

public object ExecuteScalar(CommandType,string,IDbParameters)

Execute the query with the specified command text and parameters set via the command setter, returning a scalar result

public object ExecuteScalar(CommandType,string,ICommandSetter)

Execute the query with the specified command text and parameter returning a scalar result

public object ExecuteScalar(CommandType,string,string,Enum,int,object)

See Also

AdoTemplate Class | Spring.Data.Generic Namespace