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.
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...
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.
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)
I got the following Tables with valid relations as shown below: 开发者_StackOverflow社区 Report ------>ReprotDataSource
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
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,
I have some code that inserts data into some tables (one table has a FILESTREAM column) and then calls SubmitChanges after it is done.
I\'m getting this error when the program executes mainDb.SubmitChanges(): INSERT INTO projects VALUES (@p0)
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