Example #1
0
        public async ValueTask Add(TraderDocument itm)
        {
            var sql = $"insert into {TableName} (traderid, id, documenttype, datetime, mime, filename) values (@TraderId, @Id, @DocumentType, @DateTime, @Mime, @FileName)";

            await _postgresConnection.ExecAsync(sql, itm);
        }