LINQ in Action roller

Cast Exceptions from Deep within Linq2SQL

Hi I am attempting to write myself a DAL rather than simply use the SQLMetal generated one. Overall I'm doing well, but have hit upon a snag whereby Linq doesn't appear to be able to Cast from a string into one of my own home grown objects which exist within the DAL entity. An example. Code Snippet public class MyEntity { private System.Guid _PrimaryKey; [Column(Name = "ProviderID", Storage = "_PrimaryKey")] public System.Guid PrimaryKey { get { return _PrimaryKey; } } private System.String _myLookupField; Read More...
Published Tuesday, July 08, 2008 12:32 AM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication