Browse by Tags

All Tags » ADO.NET (RSS)
I got this error when creating a new detached object. The issue was that a related object wasn't detached from the ObjectContext, but the detached object referenced an attached one. By detaching the related object when I assigned to the new object...
Posted by bmains | with no comments
Filed under: ,
I had an import process that imported Excel data. But I didn't want to hard-code the name of the table being imported. To handle this, I found this article online by David Hayden with a solution: using the GetSchema method to get the schema of the...
Posted by bmains | with no comments
Filed under:
I was dealing with an error about "Failing to enable constraints". I was just added to this project and I couldn't figure out how to determine exactly where the problem is. In reading this article: http://weblogs.asp.net/rosherove/archive...
Posted by bmains | with no comments
Filed under: