loresoft / EntityFrameworkCore.Generator

Generate Entity Framework Core model from an existing database
https://efg.loresoft.com/
MIT License
382 stars 97 forks source link

Postgres' real[] breaks generated code #576

Open Thundernerd opened 5 months ago

Thundernerd commented 5 months ago

I have a table with a column of real[] data type in my Postgres database, and whenever I generate the entity code for it it generates broken code.

An example: Column named Splits of type real[] Generated code:

public System.Collections.Generic.List`1[[System.Single, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]? Splits { get; set; }

My proposal would be that it generates this instead

public System.Collections.Generic.List<System.Single>? Splits { get; set; }