Dapper.Database
Dapper.Database copied to clipboard
It'll be nice if we could do something like: `public async Task UpdateListAsync(IEnumerable columnsToUpdate, T values, string whereClause) where T : class`
在base calss 中,我希望能够使用下面这样的方法公共使用 protected virtual int Count(SqlBuilder sqlWhere) { using (var conn = _connection.GetIDbConnection()) { var buiderQuery = sqlWhere.AddTemplate($" select count(1) from {getTableName()} /**where**/ "); System.Console.WriteLine(buiderQuery.RawSql); return conn.Query(buiderQuery.RawSql, buiderQuery.Parameters).FirstOrDefault(); }...
[Column(@"realId")] public string RealId { get; set; } 会生成这样的语句: `select bwround."id" AS Id, bwround.appid AS Appid, bwround.realId ` 在postresql中 realId 要使用 双引号包裹,因为他含有大写字母,所以正确的应该是: `select bwround."id" AS Id, bwround.appid AS Appid, bwround."realId"`...
Bumps [Npgsql](https://github.com/npgsql/npgsql) from 8.0.2 to 8.0.3. Release notes Sourced from Npgsql's releases. v8.0.3 This version contains a high-severity security patch for CVE-2024-32655 everyone is advised to upgrade. A large number...