I am working on database that have a table with xml type column i use a linq and this column become XElement then i create a business class to match this table
now when i call a save method the exemption occurs
Type 'System.Xml.Linq.XElement' in Assembly 'System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable.
what can i do
you can convert the type in the linq to string and then make the cast to xml in database
cast(@param as xml)
Copyright (c) Marimer LLC