C# Class Net.Code.ADONet.Tests.Integration.DbTest

Mostra file Open project: jhgbrt/yadal Class Usage Examples

Public Methods

Method Description
AsDataTable ( ) : DataTable
AsMultiResultSet ( ) : Address>.MultiResultSet
BulkInsert ( IEnumerable list ) : void
Cleanup ( ) : void
DbTest ( string name ) : System
Get ( int id ) : Person
GetAllPeopleAsDynamic ( ) : List
GetAllPeopleAsDynamicAsync ( ) : Task>
GetAllPeopleGeneric ( ) : List
GetAllPeopleGenericLegacy ( ) : List
GetCountOfPeople ( ) : int
GetCountOfPeopleAsync ( ) : Task
GetPeopleById ( IEnumerable ids ) : Net.Code.ADONet.Tests.Integration.Person[]
GetSchemaTable ( ) : DataTable
GetSomeIds ( int n ) : List
Initialize ( ) : void
Insert ( IEnumerable people, IEnumerable
addresses ) : void
InsertAsync ( IEnumerable items ) : System.Threading.Tasks.Task
Update ( IEnumerable items ) : void

Private Methods

Method Description
Connect ( ) : void
CreateDb ( ) : IDb

Method Details

AsDataTable() public method

public AsDataTable ( ) : DataTable
return System.Data.DataTable

AsMultiResultSet() public method

public AsMultiResultSet ( ) : Address>.MultiResultSet
return Address>.MultiResultSet

BulkInsert() public method

public BulkInsert ( IEnumerable list ) : void
list IEnumerable
return void

Cleanup() public method

public Cleanup ( ) : void
return void

DbTest() public method

public DbTest ( string name ) : System
name string
return System

Get() public method

public Get ( int id ) : Person
id int
return Person

GetAllPeopleAsDynamic() public method

public GetAllPeopleAsDynamic ( ) : List
return List

GetAllPeopleAsDynamicAsync() public method

public GetAllPeopleAsDynamicAsync ( ) : Task>
return Task>

GetAllPeopleGeneric() public method

public GetAllPeopleGeneric ( ) : List
return List

GetAllPeopleGenericLegacy() public method

public GetAllPeopleGenericLegacy ( ) : List
return List

GetCountOfPeople() public method

public GetCountOfPeople ( ) : int
return int

GetCountOfPeopleAsync() public method

public GetCountOfPeopleAsync ( ) : Task
return Task

GetPeopleById() public method

public GetPeopleById ( IEnumerable ids ) : Net.Code.ADONet.Tests.Integration.Person[]
ids IEnumerable
return Net.Code.ADONet.Tests.Integration.Person[]

GetSchemaTable() public method

public GetSchemaTable ( ) : DataTable
return System.Data.DataTable

GetSomeIds() public method

public GetSomeIds ( int n ) : List
n int
return List

Initialize() public method

public Initialize ( ) : void
return void

Insert() public method

public Insert ( IEnumerable people, IEnumerable
addresses ) : void
people IEnumerable
addresses IEnumerable
return void

InsertAsync() public method

public InsertAsync ( IEnumerable items ) : System.Threading.Tasks.Task
items IEnumerable
return System.Threading.Tasks.Task

Update() public method

public Update ( IEnumerable items ) : void
items IEnumerable
return void