Framework:Rave.Market

From RaveWiki

Jump to: navigation, search

This assembly contains the model and service interfaces for market concepts.

Model

This model is coherent with the basic model provided by the Rave.Common asssembly. All elements are part of a context named Market.

Rave.Market.Model

Providers

The providers represents the services available in the Market context.

The main is the IMarketProvider that contains all the repository providers of this context.

Rave.Market.MarketProvider

Sample Code:

IStock stock = CreateStock();

Discovery<IMarketProvider> discovery = new Discovery<IMarketProvider>()
IMarketProvider provider = discovery.Lookup();

IRepositoryProvider repository = provider.GetRepository(stock);
repository.Commit(stock);

Personal tools
namespaces