This project has moved and is read-only. For the latest updates, please go here.

Using Sample: ProductManager with up-to-date version of 1.8.0 or 1.8.1

Jan 27, 2016 at 8:51 AM
Hi there,

Please lead me how to use the new version for the sample project of ProductManager.

Thank you very much!

Jan 31, 2016 at 12:09 AM
Released version 1.9 and upgraded the sample applications just now.
Jan 31, 2016 at 7:15 PM
Hi Christof,

My plan is to implement data cache at server side instead client side. That means we will load the whole database onto data cache at server side just for very first time and then all clients will only access the data from server cache instead of SQL database. This will speed up the operation of the whole system.
So can we do that?

BTW, please explain more about InMemoryRepository and how to use it!

Thank you very much!

Feb 2, 2016 at 1:11 PM
Basically you need an implementation if IRepository, so you may want to implement this interface for your specific case.
Using InMemoryRepository as a base class could ease this implementation. It's not trivial though, especially if it comes to write access (insert, update, delete) for entities with navigation capabilities i.e. entities with references to other entities and/or being referenced from other entities, since you need to maintain these references accordingly.

Have a look at the sample implementation available: NTierDemoInMemoryRepository.cs