PostgreSQL error - 'NpgsqlDbType' does not contain a definition for 'VarChar'

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
fabernal
User
Posts: 3

PostgreSQL error - 'NpgsqlDbType' does not contain a definition for 'VarChar'

Post by fabernal »

Hi,
When I generate code from a Postgresql database, I get this error:
Models\Login.cs(355,43): error CS0117: 'NpgsqlDbType' does not contain a definition for 'VarChar'

If open the project in visual studio and change the type for Varchar the solution compile.

How can I resolve the issue from asp.net maker?

Thanks


MichaelG
User
Posts: 1110

Post by MichaelG »

Tested user login with PostgreSQL using ASP.NET Maker 2023 (latest version) and did not find any issue. Please make sure that you are using the latest version and also update to the latest template (Tools -> Update Template).


Post Reply