How to store 'blob' type in MySQL with Entity Framework Core using byte[]?
In your OnModelCreating do:
modelBuilder.Entity<Document>(entity =>
{
entity.Property(x => x.Blob ).HasColumnType("blob");
}
In your OnModelCreating do:
modelBuilder.Entity<Document>(entity =>
{
entity.Property(x => x.Blob ).HasColumnType("blob");
}