增删改查方面,已经有Dapper.Extension这么强大的工具了,我也实在没啥好写的,就随手写了个看起来比较优雅的连接与事务的封装。...System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq...new[]
{
new {a = 1, b = 1, c = 1, d = DateTime.Now..., e = 1},
new {a = 2, b = 2, c = 2, d = DateTime.Now, e = 2},...new {a = 3, b = 3, c = 3, d = DateTime.Now, e = 3}
},trans);
return