submitchanges
Linq to SQL SubmitChanges() not working if textbox modified by listbox
In a simple test form, I have a listbox and a textbox.The form is bound to a datacontext, which has a single table. The listbox has two items, and is not bound.The textbox is bound to the datacontext.[详细]
2023-03-22 06:41 分类:问答Silverlight 4 wcf ria Saving multiple records
Ok, I\'m pretty sure its just a matter of learning... but I have a very normalized db i\'m working with so when I save to my product tbl I also have a productDollar tble and so on...[详细]
2023-03-06 08:27 分类:问答How to catch SqlException in LINQ to SQL
In my WPF application, I\'m using LINQ to SQL, so when I call SubmitChanges(), it throws an exception, but I\'m unable to catch it.[详细]
2023-02-17 09:50 分类:问答LINQ to SQL SubmitChangess() progress
I\'m using LINQ to SQLto import old DBF files into MSSQL. I\'m reading all rows and adding them to database using ctx.MyTable.InsertOnSubmit(row)[详细]
2023-02-02 07:20 分类:问答SubmitChanges Inserts new record for foreign relation instead of use the assigned one
I got the following Tables with valid relations as shown below: 开发者_StackOverflow社区 Report ------>ReprotDataSource[详细]
2023-01-29 10:39 分类:问答linq submitchanges runs out of memory
I have a database with about 180,000 records. I\'m trying to attach a pdf file to each of those records. Each pdf is about 250 kb in size. However, after about a minute my program starts taking about[详细]
2023-01-26 18:30 分类:问答Linq to sql stop working
hey, I have strange problem, i\'ve built a prject using the Linq, and most of it works fine, However sometimes all the Linq\'s Repository commands stop working, and i\'m geeting errors,[详细]
2023-01-23 02:53 分类:问答LINQ to SQL SubmitChanges not working FILESTREAM Table
I have some code that inserts data into some tables (one table has a FILESTREAM column) and then calls SubmitChanges after it is done.[详细]
2023-01-21 07:05 分类:问答sqlite Exception Identity Issue
I\'m getting this error when the program executes mainDb.SubmitChanges(): INSERT INTO projects VALUES (@p0)[详细]
2023-01-16 08:29 分类:问答Linq SubmitChanges() function - when to call?
When manipulating data using Linq, how often does the SubmitChanges() method have to be called? In my project, there are a few tables related with foreign keys. In the creation SQL, these foreign key[详细]
2023-01-13 19:35 分类:问答