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

ファイルを表示 Open project: machine/machine.uow Class Usage Examples

Public Methods

Method 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 method

public AddCategory ( string name ) : long
name string
return long

AddCustomer() public method

public AddCustomer ( string name ) : long
name string
return long

AddCustomerData() public method

public AddCustomerData ( string customer, int orders ) : void
customer string
orders int
return void

AddDefaultData() public method

public AddDefaultData ( ) : void
return void

AddEmployee() public method

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
return long

AddEntity() public method

public AddEntity ( string pre ) : long
pre string
return long

AddOrder() public method

public AddOrder ( long customer, string title ) : long
customer long
title string
return long

AddOrderLine() public method

public AddOrderLine ( long order, string title ) : long
order long
title string
return long

AddProduct() public method

public AddProduct ( string name, long category ) : long
name string
category long
return long

Create() public method

public Create ( ) : void
return void

DropAllTables() public method

public DropAllTables ( ) : void
return void

NorthwindDatabase() public method

public NorthwindDatabase ( IDbConnection connection ) : System
connection IDbConnection
return System

ToString() public method

public ToString ( System.DateTime dateValue ) : string
dateValue System.DateTime
return string