datacontext
Bug with the dmbl designer file under VS2008?
I had been struggling today with the linq2sql dbml design files. When I start out and place my tables on the designer everything is OK. Them I modify the namespaces and turn off the connection string[详细]
2023-01-30 15:15 分类:问答using IValueConverter with current DataContext in two-way binding
I\'m having issues with a converter i\'m using to convert between a string and our timeformat. The converter itself works fine and is implemeneted like this:[详细]
2023-01-30 10:09 分类:问答Exception when trying to create/use an inner transaction
My application (WCF service) uses LINQ data contexts and recently we\'ve decided to wrap everything in a transaction. Seems to work pretty well; each call into the service has its own transaction so i[详细]
2023-01-30 05:06 分类:问答update object created in another datacontext
I need your help very much. I\'d like to update object created in another datacontext; Here is my code. Insert statement works well but I can\'t write code for update[详细]
2023-01-30 03:08 分类:问答Which DataContext method will be faster?
I have using a basic DataContext to create objects then submit these into a database. Have written a couple of tests myself to see which is fast but just wondering which method is considered best pra[详细]
2023-01-29 09:21 分类:问答DataBinding Between a WPF GUI and a couple of ListBox/CheckBox
The thing i want to do looks easy, but takes me a l开发者_C百科ot of time without any result.. =/[详细]
2023-01-29 00:52 分类:问答How to combine binding from custom data context with custom markup
I want to combine binding from my custom data context which contains ViewModel class and ResourceProvider class. Custom data context is set as window DataContext.[详细]
2023-01-29 00:16 分类:问答DataContext Accessed After Dispose
I\'m using ASP.NET 4.0. I\'ve got the following code that returns with an error of \"Cannot access a disposed object.[详细]
2023-01-27 16:58 分类:问答TransactionScope and DataContext
I realise this question has been asking before, but I\'ve yet to find an answer that actually works. My issue is occuring when my unit tests are trying to call a web service that uses Linq to query t[详细]
2023-01-27 06:23 分类:问答Transforming Linq To Sql DataContext objects to DataContract objects
I have DataContext classes generated from dbml. Once I get data from the database, I need to transform them into DataContract classes so that the objects can be sent via WCF.[详细]
2023-01-27 03:10 分类:问答