Any Ignore Attributes?

15 views
Skip to first unread message

arheu...@gmail.com

unread,
Oct 24, 2014, 2:41:44 AM10/24/14
to sharpre...@googlegroups.com
First of all - fanks for your work! It's amaizing!=)

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?

Jeff Treuting

unread,
Oct 24, 2014, 11:57:05 AM10/24/14
to arheu...@gmail.com, sharpre...@googlegroups.com
I'm sorry, I'm not fully understanding what you are trying to do or what issues you are running into when you try to do it. Can you tell me the issues you are seeing?

Also, what type of repository are you implementing?

Jeff
--
You received this message because you are subscribed to the Google Groups "SharpRepository" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sharpreposito...@googlegroups.com.
To post to this group, send email to sharpre...@googlegroups.com.
Visit this group at http://groups.google.com/group/sharprepository.
To view this discussion on the web visit https://groups.google.com/d/msgid/sharprepository/246c1bb3-1ed6-4a37-a868-63474d8f9259%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

arheu...@gmail.com

unread,
Oct 24, 2014, 1:14:30 PM10/24/14
to sharpre...@googlegroups.com, arheu...@gmail.com
Thank you for the quick reply.

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.

Reply all
Reply to author
Forward
0 new messages