Canalblog
Suivre ce blog Administration + Créer mon blog
Publicité
asp.net
Publicité
Archives
linq2sql
26 juin 2009

LINQ To SQL issue when serializing in the viewstate

After having implemented LINQ DTO with relations, using the codeplex L2ST4 templates, I got an error when seriallizing the DTO to the viewstate. The problem was about th serialization of a relation, implemented as an entityset in the DTO. The problem...
Publicité
Publicité
26 juin 2009

Create a Serializer / Deserializer for LINQ To SQL Entities

using System;using System.IO;using System.Xml;using System.Runtime.Serialization; namespace JC.Common{ /// /// Provides methods to serialize objects /// public static class SerializeHelper { public static string SerializeXml(object...
Publicité