Whenever a Linq data context is updated, all manually set attribute parameters are lost. I wonder if there is a way to persist them somehow? For instance, we need to persist an Auto Generated Value pr
This question is in two parts: A) Is my design wrong? If so, what would be the proper way to do this? B) If my design is right, how do I implement it?
Here are my questions and then I\'ll give you the background for them: I would prefer to use Method 2 as my application design, so is there a way to provide filtering like Method 1 without introduci
I am using a VARBINARY(MAX) column to store binary files in a SQL Server table. The other columns in the same table are used to store attributes about the file, such as a description and a time stamp
I am trying to run a .NET project someone gave me that contains a database MDF file and uses LINQ queries in the C# code, such as:
What I\'m trying to do is narrow the results of a query that I will use to databind later on. I want to get all of the ProgramIds that are used in my gridview, and remove them from the datasource of m
I\'m attempting to create a transaction to wrap around several LINQ to SQL SubmitChanges() calls. Code
Here is an extract of my 开发者_JAVA百科query: ... join p in dc.PODs on c.ID equals p.Consignment into pg
I have a function, and inside that I am creating a DataContext() everytime the function is called. What is the cost of creating a new DataContext(). Can I create a static DataContext() and use开发者_开
I need to select of all fields from a table I try to do this using to following code and I get the error notification class name is not valid at this point