摘要:
因为需要把复杂事物组合放进数据库,因此采用了将类转成二进制,直接插入到一个字段public static class Serializer { public static byte[] ToBinary<T>(this T o) where T : class, new() { byte[] bytes = null; DataContractSerializer dc = new D... 阅读全文
posted @ 2009-08-20 16:50
举个栗子
阅读(372)
评论(0)
推荐(0)

浙公网安备 33010602011771号