Execute an IDbCommand (that returns a 1x1 resultset) against the database specified in 
            the connection String. 
            
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
| C# | 
|---|
public virtual Object ExecuteScalar( IDbCommand command )  | 
| Visual Basic | 
|---|
Public Overridable Function ExecuteScalar ( command As IDbCommand ) As Object  | 
Parameters
- command
 - Type: System.Data..::..IDbCommand
The IDbCommand to execute 
Return Value
Type: ObjectAn object containing the value in the 1x1 resultset generated by the command
Exceptions
| Exception | Condition | 
|---|---|
| System..::..ArgumentNullException | Thrown if command is null. |