I am trying to increment a counter which is stored in the DB. So this requires me to do and update using Entity Framework 1 (EF1).
Currently I have an Model that\'s recursive (one of its properties is of the same type). For example: public class Page
I have been trying to loop partial views, which share the same model as the main view. Basically the idea is that there is a registration page where a parent can register multiple children, the childr
I have a co开发者_如何转开发lumn that\'s defined as an integer in EF (Code First).I want to search it using \"starts with.\" Now, I can do this:
i have a function called distancebetween i wnat to define it in scalar valued function to call it by linq
Here\'s the scenario, i have a website, which in a single 开发者_StackOverflowHTTP request (HTTP POST), i need to do the following:
Using WCF Data Services I am using a data model that contains entities with names specific to the model. I would like to expose them through Odata but with different names.
I am using entity framework 4.1, an edmx mapping file is used to generate poco classes using T4 templates.
var lastitem = Contacts .OrderByDescending(c => c.ContactID) .Take(1).Select(p=>p.ContactID); lastitem is even though a single item returns a DBQuery<Int32>
I am using Entity Framework, Linq, WCF and MVC3. The system has been split into a tier approach and I am using WCF because multiple systems will be using the same Data Access and Business Logic.