Bradley Grainger

Results 87 issues of Bradley Grainger

MySqlConnector currently detects nested transactions by using the `MySqlConnection.CurrentTransaction` property. This is only set if the user uses the `BeginTransaction(Async)` API. It would be more robust to check the server...

A new client flag in MySQL 8.0: * https://dev.mysql.com/doc/refman/8.0/en/c-api-optional-metadata.html * https://dev.mysql.com/worklog/task/?id=8134 Would need to be controlled by a new connection string option (`OmitResultSetMetadata=true`?). Required for aspnet/DataAccessPerformance#34.

enhancement

AFAIK, the "DbFortunesRaw", "EF Fortunes", etc. benchmarks in the [Power BI dashboard](https://aka.ms/aspnet/benchmarks) are all PostgreSQL + npgsql. While MySQL performance isn't as good as PostgreSQL (in absolute numbers), MySqlConnector is...

Code authors can use `` to "inherit XML comments from base classes, interfaces, and similar methods" ([source](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/xmldoc/inheritdoc)). The most common use case is when overriding a base class method, but...

I'm trying to use XmlDocMarkdown with a Hugo site (defined here: https://github.com/mysql-net/MySqlConnector/tree/master/docs) So far, I've gotten the best results with this command line: ``` xmldocmd --front-matter .\docs\front-matter.yml --clean --namespace-pages --permalink...

MySQL Server 5.6.29 Dapper 1.50.1 MySql.Data 6.9.9 Execute the following code (query adapted from https://github.com/StackExchange/dapper-dot-net#list-support): ``` var csb = new MySqlConnectionStringBuilder { Server = "localhost", UserID = "root", Password =...

db:mysql

I used the two remaining columns in the file hex display to show the 9th hex digit of the file position; this allows files up to 64GB to be viewed.

From https://github.com/dotnet/aspire/issues/2033 When running against EF 9 assemblies, Pomelo throws `System.MissingMethodException : Method not found: 'Void Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationsModelDiffer..ctor(Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource, Microsoft.EntityFrameworkCore.Migrations.IMigrationsAnnotationProvider, Microsoft.EntityFrameworkCore.Update.Internal.IRowIdentityMapFactory, Microsoft.EntityFrameworkCore.Update.Internal.CommandBatchPreparerDependencies)'.` from this code: https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/blob/5fa77d7f68cc51ea6e5d1206fd2cbf58d20f3182/src/EFCore.MySql/Migrations/Internal/MySqlMigrationsModelDiffer.cs#L32-L41 This happens because this "Internal" type...

type-investigation

For backwards-compatibility reasons, `MySqlDataReader.GetValue` will return a `DateTime` object for `DATE` columns, even though this could be represented by a .NET `DateOnly` struct. For users who want a `DateOnly`, there...

enhancement
low priority

From https://github.com/mysql-net/MySqlConnector/issues/1451#issuecomment-1944973581: > Would it make sense to add a similar option to read JSON columns as byte[] (instead of a string)? On .NET 6.0 and later, `MySqlDataReader` could expose...

enhancement