Reputation: 669
Entity Framework or stored procedures / functions
I have used both methods to retrieve and manipulate data and don't really have a preference. I think stored procedures / function allows us a clearer separation of concerns. But using C# to develop functionality to query and manipulate data does seem more easy.
Upvotes: 0
Views: 254
Reputation: 16730
Which is better?
In which scenarios would using stored procedures or Entity Framework be better?
Is the performance of one technology better than the other?
Another thing to think. If you use EF, you must prefere to have all you bussines logic in one place, using partial classes or extensions.. you will don't to have so much logic on yout database.
Upvotes: 1