C# Class Data.ProductsRepository

Afficher le fichier Open project: KHProjects/KH-Parker-Fox Class Usage Examples

Méthodes publiques

Méthode Description
Create ( Product product ) : void
Delete ( int id ) : void
Get ( ) : List
Get ( int id ) : Product
Get ( string name ) : Product
New ( ) : Product
Update ( Product product ) : void

Method Details

Create() public méthode

public Create ( Product product ) : void
product Product
Résultat void

Delete() public méthode

public Delete ( int id ) : void
id int
Résultat void

Get() public méthode

public Get ( ) : List
Résultat List

Get() public méthode

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

Get() public méthode

public Get ( string name ) : Product
name string
Résultat Product

New() public méthode

public New ( ) : Product
Résultat Product

Update() public méthode

public Update ( Product product ) : void
product Product
Résultat void