c# - How to use entity framework in business layer and/or data layer? -
i use entity framework in asp.net application.
i can use linq entities in layer, know should put entity framework? (dal, bal or direct use in presentation).
entityframework should go in data access layer. expose presentation layer tightly couples presentation database, allowing changes @ database level flow presentation layer.
what have done on of our projects use entity framework @ dal, transform entities our business objects (which quite simple object used dto's of our logic contained in services act on objects - route isn't everyone, fitted architecht wanted).
Comments
Post a Comment