Target: I want to place some filds in entry, which has only fast-links to source filds, like:
public class BaseEntry<TSource, TKey>
{
[RepositoryPrimaryKey]
public TKey Guid { get; set; }
public TSource Value { get; set; }
}
And childs like:
public class MyFirstEntry: BaseEntry<Order, int>
{
public Name{get{return Value.Name};
}
Any suggessions how I can do this?
I'm sorry for not giving you a coherent vision on the problem:
1. Usual InMemoryRepository<T,TKey>
2. In this very case the error says "set of this property is not found".
The scenario of the usage that is similar in its functions to svn/git and can be applied for objects. In other words, it should be a separated storage containig objects copies of which can be taken out for viewing/editing. When the object committed, the other copies of this objects are notified.