Beispiel #1
0
        public virtual DataSet Serialize(object value)
        {
            var ds     = new DataSet();
            var reader = new EntityReader(value);

            ds.Load(reader, LoadOption.PreserveChanges, reader.GetTableNames());
            return(ds);
        }