摘要:
1.使用非自增列或者GUID列的主键时,需调用Insert--只要是非数字主键建议使用如下扩展方法 { TKey newId; using (IDbConnection conn = SessionFactory.CreateConnection(ConnectionStr)) { newId = 阅读全文
posted @ 2021-05-25 12:52
djd66
阅读(222)
评论(0)
推荐(0)
2021年5月25日