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!