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...