Can anyone help? I have the following structure using associations, and as you can see v.StructureType.Description works great as its a 1 to 1 association, but i need to get in my example below v.Str
I\'m trying to insert a new object into my database using LINQ to SQL but get a NullReferenceException when I call InsertOnSubmit() in the code snippet below. I\'m passing in a derived class called Fi
This question already has answers 开发者_开发百科here: Closed 13 years ago. Possible Duplicate: Linq help - Sql trace returns result, but datacontext returning null
This error occurs when data binding a repeater: SQL Server does not handle comparison of NText, Text, Xml, or Image data types
Hey, I am trying to create an Expression<Func<T, bool>> in which a string property is converted/cast to a DateTimeOffset so that DateTimeOffset operations can be performed on it.
Let\'s say I have a table in my database called Orders that has the following columns: OrderId OrderDate
I have 2 views in SQL set up: PurchaseOrder PurchaseOrderLineItems These have many columns aliased (the tables they view/join are not sensibly named... it\'s a 3rd party product)
I have S开发者_如何学运维QL database as follows alt text http://img97.imageshack.us/img97/5774/dbimage.jpg
I am using \"Single data context per atomic operation\" approach while using Linq to Sql in an ASP.NET MVC application.
I am having a lot of fun with Linq2Sql. Expression Trees have been great, and just the standard Linq2Sql syntax has been a lot of fun.