FirebirdSQL / NETProvider

Firebird ADO.NET Data Provider
https://www.firebirdsql.org/en/net-provider/
Other
159 stars 65 forks source link

Possibility to define the Collation #1050

Closed alansbraga closed 1 year ago

alansbraga commented 2 years ago

It would be great if during the database creation, using Entity Framework, we could define the default collation.

ModelBuilder has a method UseCollation. But it doesn't work with Firebird.

Another place that we can change the collation it is configuring properties, the object PropertyBuilder has a method UseCollation as well.

Thanks!

cincuranet commented 2 years ago

@alansbraga How are you creating database with EF Core?

alansbraga commented 2 years ago

Hi! I'm using: DBContext.Database.Migrate();

Is that what you wanted to know?

Thanks!!!

cincuranet commented 2 years ago

Yes, that's it.