An ORM built by Microsoft and is available as part of .Net framework 3.5 and later.
5
votes
3answers
362 views
What the best way to wire up Entity Framework database context (model) to ViewModel in MVVM WPF?
As in the question above: What the best way to wire up Entity Framework database model (context) to viewModel in MVVM (WPF)?
I am learning MVVM pattern in WPF, alot of examples shows how to implement ...
1
vote
2answers
331 views
what's a good approach to working with multiple databases?
I'm working on a project that has its own database call it InternalDb, but also it queries two other databases, call them ExternalDb1 and ExternalDb2. Both ExternalDb1 and ExternalDb2 are actually ...
3
votes
0answers
41 views
Entity Framework and distributed Systems
I need some help or maybe only a hint for the right direction.
I've got a system that is sperated into two applications.
An existing VB.NET desktop client using Entity Framework 5 with code first ...
2
votes
0answers
179 views
Entity Framework design help
I'm after some advice as to whether I'm on the right track with what I'm doing. I'm developing a WPF app where I need to retrieve a large graph of entities, work on that graph in the UI (display, ...
1
vote
0answers
119 views
How I could update a DB table using a POCO class bound in a DataGridView
I try to explain better using an example:
I create the class Product with attibutes like that:
private string _ProductCode = "";
[DisplayName("ProductCode")]
public String ProductCode
{
get { ...
1
vote
0answers
184 views
What is the rule on passing around collections? List vs. Ienumerable vs. IQueryable
I do Entity Framework stuff using repository patterns that are passed to the controller to than be called by the client using jquery AJAX.. Is there any basic rules on in what format I should be ...
0
votes
0answers
49 views
Should I create a new entity for these attributes?
I'm writting a site where people will be able to write about movies and give their opinion and rating, a movie will have defined attributes to star-rate (one star,two ... 5 stars), like: general, ...
0
votes
0answers
191 views
Is it safe to add untracked entities to a DBSet?
I was thinking of ways to duplicate existing entities and possibly alter some of its properties. I have read a couple of articles describing how to achieve them by either using reflection or reading ...