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

Afficher le fichier Open project: jhgbrt/yadal Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
Connect ( ) : void
CreateDb ( ) : IDb

Method Details

AsDataTable() public méthode

public AsDataTable ( ) : DataTable
Résultat System.Data.DataTable

AsMultiResultSet() public méthode

public AsMultiResultSet ( ) : Address>.MultiResultSet
Résultat Address>.MultiResultSet

BulkInsert() public méthode

public BulkInsert ( IEnumerable list ) : void
list IEnumerable
Résultat void

Cleanup() public méthode

public Cleanup ( ) : void
Résultat void

DbTest() public méthode

public DbTest ( string name ) : System
name string
Résultat System

Get() public méthode

public Get ( int id ) : Person
id int
Résultat Person

GetAllPeopleAsDynamic() public méthode

public GetAllPeopleAsDynamic ( ) : List
Résultat List

GetAllPeopleAsDynamicAsync() public méthode

public GetAllPeopleAsDynamicAsync ( ) : Task>
Résultat Task>

GetAllPeopleGeneric() public méthode

public GetAllPeopleGeneric ( ) : List
Résultat List

GetAllPeopleGenericLegacy() public méthode

public GetAllPeopleGenericLegacy ( ) : List
Résultat List

GetCountOfPeople() public méthode

public GetCountOfPeople ( ) : int
Résultat int

GetCountOfPeopleAsync() public méthode

public GetCountOfPeopleAsync ( ) : Task
Résultat Task

GetPeopleById() public méthode

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

GetSchemaTable() public méthode

public GetSchemaTable ( ) : DataTable
Résultat System.Data.DataTable

GetSomeIds() public méthode

public GetSomeIds ( int n ) : List
n int
Résultat List

Initialize() public méthode

public Initialize ( ) : void
Résultat void

Insert() public méthode

public Insert ( IEnumerable people, IEnumerable
addresses ) : void
people IEnumerable
addresses IEnumerable
Résultat void

InsertAsync() public méthode

public InsertAsync ( IEnumerable items ) : System.Threading.Tasks.Task
items IEnumerable
Résultat System.Threading.Tasks.Task

Update() public méthode

public Update ( IEnumerable items ) : void
items IEnumerable
Résultat void