I\'m still learning Entity Framework and Linq-To-Entities, and I was wondering if a statement of this kind is possible:
This sort of thing: Dim MatchingValues() As Integer = {5, 6, 7} Return From e in context.entity Where MatchingValues.Contains(e.Id)
This question already has answers here: Closed 11 years ago. Possible Duplicate: Entity Framework v2 doesn't support sql 2000?
If I were to use IEnumerable instead of var in the code example below, will the SQL be generated only during the execution of the foreach statement? Or will it execute as an when the Linq statements a
I have a situation where I\'m adding existing entities to an entity collection. Before calling \"context.SaveChanges()\", I need to know which entities in the entity collection have not had their rela
If i have a dbContext who\'s connection string is created during a context creation and then I want to map the table names based on some of that information....how would I pass in that data to the tab
The problem is I\'m trying to find a single method to save an entity, be it a new entity or an already loaded entity. Most all code samples separate Add and Save methods which goes against so many oth
I can\'t find good documentation 开发者_JAVA技巧on these operators. Can someone provide some examples of use and explain what they do?Entity SQL\'s CREATEREF reference: http://msdn.microsoft.com/en-us
I have a question about inheritance in Entity Framework 4. We are using a database-first approach and would like to restructure our model to use inheritance. Here is a white board mock up of the hiera
Having a bit of block trying to get comments for a specific post. Working with MVC 3 and VBNET. A post url looks like /Blog/Post/1. I can display the post without problem but need to get the comments