LINQ Objects is not serializable.
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
The Table1 is a class mapping with in database, and i want to save it in ViewState or Session, it thrown a error like this
Type 'Table1' in Assembly 'App_Code.bfsthzhd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.
i find property 'Serialization Mode' in *.dbml file. but it seemns does not work at all. anything help?Glad to discuss with you and best wishes.