I am stuck in a locking decision and thought could use your expertise. I want to add a new row to the table and multiple threads are trying to insert that new row to the table. I want only one of the
I\'m trying to set up LINQ to SQL over an existing domain object, so I can simplify caller access to my repositories. I don\'t want to add attr开发者_如何学Goibutes all over my domain object\'s class,
I have a SL4 application, that uses the WCF RIA services and LINQ2SQL. I compose an EntityQuery on client side, and want to get the number of items in the list on server side, but the List.count() do
I\'m creating a database and I want to use a different naming convention other than \'Id\' for the Id of the table.For example, I have a products table and I want to use ProductId as the primary key n
You know in Visual Studio when you open your .DBML and it\'s just this huge 2D plane full o开发者_如何学运维f tables? I have to scroll around and I can never find what I am looking for very quickly. I
I have these relations in my data base: I need all authors related to my 开发者_如何学Pythonbook stored in book entity class?
I have a database table with customer account numbers. Within the same table are test accounts that don\'t match the production formatting: say, \'A1111\' is production but \'JTest\' is not. I have th
I want to convert a List<AnonymousType> to List<string>. I have the following code: var lkpiTodisplay = _MGMTDashboardDB.KPIs.Where(m => m.Compulsory == true && m.Active == tru
I have a serious(it\'s getting me crazy) problem with LINQ to SQL. I am developing an ASP.NET MVC3 application using c# and Razor in Visual Studio 2010.
I have created a simple LINQ to Sql class item in Visual Studio 2008 (DataClasses1.dbml). I can see three files there: \".layout\" file, \".cs\" file and \".designer.cs\" file.