I have a LINQ to SQL query that is something like the following... return from parent in Context.Parents
I have a list of messages in db like so: FromLoginId, ToLoginId, Message, CreateDate 1, 2, \"some message\", 2/2/2010
I have a table like this StudentExamp1p2p3p4p5p6p7p8p9p10p11p12 -------------------------------开发者_开发知识库----------------------------------------------------
I was looking for a general solution for cascading delete in linq to sql from c#, but I could not find any yet.
I am having a problem returning a default DateTime value from a complex Linq-to-Sql query. Hopefully the following simplified example shows the problem (although I haven\'t run this exact code):
I\'m trying to add a table from my database to my LINQ to SQL data context. It wont let me. Looking at the table in the designer in visual studio it seems it isn\'t recognising the Id as a primary key
I\'m following this guide and I am getting an error. Can anyone help me? The code for my datamodel is below
I am massively in need to help. I have spent an entire day when I do not have even an hour to waste on a project. I have a Linq to SQL data layer and am doing a simple insert into the DB using the fol
I have some 3 different dropdown list and each dropdown fetch data from database table. Tables TableSchool
I have a server and a client. Server is a web application hosting WCF service. Server uses Linq2SQL DataContext via static singleton which is being initialized upon first access and is never disposed