C# Class Nomad.Tests.Stubs.DatabaseStub

Inheritance: IDatabase
Mostra file Open project: marceldupr/Nomad Class Usage Examples

Public Properties

Property Type Description
Statements IList

Public Methods

Method Description
DatabaseStub ( ) : System.Collections.Generic
DatabaseStub ( int scalarToReturn ) : System.Collections.Generic
ExecuteNonQuery ( string statement ) : void
ExecuteScalar ( string script ) : object
ExecuteSqlInTransaction ( string scriptContents ) : void

Method Details

DatabaseStub() public method

public DatabaseStub ( ) : System.Collections.Generic
return System.Collections.Generic

DatabaseStub() public method

public DatabaseStub ( int scalarToReturn ) : System.Collections.Generic
scalarToReturn int
return System.Collections.Generic

ExecuteNonQuery() public method

public ExecuteNonQuery ( string statement ) : void
statement string
return void

ExecuteScalar() public method

public ExecuteScalar ( string script ) : object
script string
return object

ExecuteSqlInTransaction() public method

public ExecuteSqlInTransaction ( string scriptContents ) : void
scriptContents string
return void

Property Details

Statements public_oe property

public IList Statements
return IList