bool Test <T>(T v) { var j = serialize(v); var r = deserialize <T>(j); return(EqualityComparison.AreEqual(v, r)); }
bool Test <T>(T e) where T : EntityBase { var v = _converter.ToTableEntity(e); var r = _converter.ToRecord <T>(v); return(EqualityComparison.AreEqual(e, r)); }