Author: afache | Posted on: 7/10/2009 2:34:01 AM | Views : 249

Hi,
    I am using LINQ to sql. I am working on the layers for my webapplication. I have created a class library for the .dbml classes, but I decided to add another class library for the business logic which will pretty much contain the partial classes and functions that throw exceptions in LINQ.
   The code below is giving me an error although I have the correct references. last name is a public property in partial class person. The compiler does not like 'lastname'. The error says: Reference to a non-shared member requires an object reference. Any ideas?
Partial Public Class person
Private Sub OnValidate(Go to the complete details ...