Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Do not want to use Entity for my classes. #25

Open
skalinkin opened this issue Jan 14, 2016 · 1 comment
Open

Do not want to use Entity for my classes. #25

skalinkin opened this issue Jan 14, 2016 · 1 comment
Assignees
Milestone

Comments

@skalinkin
Copy link

Hi Guys,
I would like to have my application abstracted from data store layer. But in order to use Generic Repository I have to inherit my entities from Entity class. I would like to have no references to your library from my application but inject data layer using container. Do you have any plans to support entities based on DataAnnotation attributes for example, or something else?

@RobThree
Copy link
Owner

No. Best I can do is advise you to use IEntity (or IEntity<T>) instead of Entity. We will, for 2.0 try to move the interfaces to a separate assembly / package. Other than that we have no concrete plans for moving even more loosly coupled by using attributes yet.

@RobThree RobThree added this to the 2.0 milestone Mar 30, 2016
@RobThree RobThree self-assigned this Mar 30, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants