Example #1
0
        bool Test <T>(T v)
        {
            var j = serialize(v);
            var r = deserialize <T>(j);

            return(EqualityComparison.AreEqual(v, r));
        }
Example #2
0
        bool Test <T>(T e) where T : EntityBase
        {
            var v = _converter.ToTableEntity(e);
            var r = _converter.ToRecord <T>(v);

            return(EqualityComparison.AreEqual(e, r));
        }