C# Class DataAccess.Repositories.OrderRepository

Inheritance: IOrderRepository
Datei anzeigen Open project: LeagueOfDevelopers/LodCore Class Usage Examples

Public Methods

Method Description
GetAllOrders ( bool>.Func criteria = null ) : List
GetOrder ( int orderId ) : Order
OrderRepository ( DatabaseSessionProvider databaseSessionProvider ) : System
SaveOrder ( Order order ) : int

Method Details

GetAllOrders() public method

public GetAllOrders ( bool>.Func criteria = null ) : List
criteria bool>.Func
return List

GetOrder() public method

public GetOrder ( int orderId ) : Order
orderId int
return OrderManagement.Domain.Order

OrderRepository() public method

public OrderRepository ( DatabaseSessionProvider databaseSessionProvider ) : System
databaseSessionProvider DatabaseSessionProvider
return System

SaveOrder() public method

public SaveOrder ( Order order ) : int
order OrderManagement.Domain.Order
return int