LINQ to SQL and WCF

From the forums (this thread):

A future version of SqlMetal.exe will generate DataContract and DataMember attributes on your entities for you.  Putting them on the DataContext won’t work because the DataContext is not serializable.  (Matt Warren, Microsoft)

  Sign up for my newsletter so you don't miss my conference & Pluralsight course announcements!  

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.