I have a web page in which I am giving USER the options of writing notes. Now when ever the web page checks that a USER is:abc then it pulls up the note from the MEMO Table.
I\'m trying to find a way to have the DataContext available from within Entities. I want to do something like this:
I use ASP.NET MVC3 and as Data layer LinqToSql. I`m a little bit confuse how can i edit an entity. public ActionResult Edit(int id)
I am trying to return a Guid value below.However the database(and my dbml) has that column as a nullable Guid and it is generating an exception on the .Select portion saying it can\'t convert from an
I need to transform an sql query to a Linq to SQL query, and i could\'nt get the result what i expect:
I have the following query: var content = (from ca in db.ContentAccesses where !candidateList.Contains(ca.Content) &&
I\'ve got a GridView on an ASP.NET page, on which I need to edit a single field in a row when a user clicks the \'Edit\' button on that row, and have a SQL database table updated with whatever the use
I have 3 Tables. Guilds, Kills, Faction. 1 Guild = x Kills, 1 Guild = X Factions. All FK are correctly set in database.
how can i write this in LINQ : SELECT T.TestId, S.SubjectName+\' >> \'+T.TestName +\' (\'+ CONVERT(VARCHAR(10),COUNT(Q.TestId)) +\')\' TestData
Question related to how ORM (Linq to SQL,EF 4) handles loading of data.Is the entire data set loaded, if so can we prevent the entire data set from loading and load a subset?For example when instantia