|
|
|
|
|
by salex89
3280 days ago
|
|
Actually, very similar, since Entity Framework is usually used. Sources implement the IQueriable interface which lets you write queries with method chaining or LINQ. To be honest, it kinda looks better than it is. In reality I find it produces sub-optimum performance and a lot of things can not be done without spilling query logic to the app. Not to mention a lot of linq/method chaining queries cannot be translated to SQL (by the database provider). |
|
You would have some kind adapter/library that handles the persistence.
It would take these models, and covert them into your datastore.