天天看點

Dapper 插入時傳回自增長id

mytable.Stuff = "test";

var id = connection.Query<int>(sql, mytable).FirstOrDefault();
           

繼續閱讀