C# Class Machine.UoW.NHibernate.Specs.NorthwindDatabase

Afficher le fichier Open project: machine/machine.uow Class Usage Examples

Méthodes publiques

Méthode Description
AddCategory ( string name ) : long
AddCustomer ( string name ) : long
AddCustomerData ( string customer, int orders ) : void
AddDefaultData ( ) : void
AddEmployee ( string firstName, string lastName, System.DateTime birthday, bool isAlive, long reportsTo ) : long
AddEntity ( string pre ) : long
AddOrder ( long customer, string title ) : long
AddOrderLine ( long order, string title ) : long
AddProduct ( string name, long category ) : long
Create ( ) : void
DropAllTables ( ) : void
NorthwindDatabase ( IDbConnection connection ) : System
ToString ( System.DateTime dateValue ) : string

Method Details

AddCategory() public méthode

public AddCategory ( string name ) : long
name string
Résultat long

AddCustomer() public méthode

public AddCustomer ( string name ) : long
name string
Résultat long

AddCustomerData() public méthode

public AddCustomerData ( string customer, int orders ) : void
customer string
orders int
Résultat void

AddDefaultData() public méthode

public AddDefaultData ( ) : void
Résultat void

AddEmployee() public méthode

public AddEmployee ( string firstName, string lastName, System.DateTime birthday, bool isAlive, long reportsTo ) : long
firstName string
lastName string
birthday System.DateTime
isAlive bool
reportsTo long
Résultat long

AddEntity() public méthode

public AddEntity ( string pre ) : long
pre string
Résultat long

AddOrder() public méthode

public AddOrder ( long customer, string title ) : long
customer long
title string
Résultat long

AddOrderLine() public méthode

public AddOrderLine ( long order, string title ) : long
order long
title string
Résultat long

AddProduct() public méthode

public AddProduct ( string name, long category ) : long
name string
category long
Résultat long

Create() public méthode

public Create ( ) : void
Résultat void

DropAllTables() public méthode

public DropAllTables ( ) : void
Résultat void

NorthwindDatabase() public méthode

public NorthwindDatabase ( IDbConnection connection ) : System
connection IDbConnection
Résultat System

ToString() public méthode

public ToString ( System.DateTime dateValue ) : string
dateValue System.DateTime
Résultat string