Discussion:
[Firebird-net-provider] [FB-Tracker] Created: (DNET-753) Problem with Tablename and CodeFirst
Andreas Patock (JIRA)
2017-04-19 14:49:09 UTC
Permalink
Problem with Tablename and CodeFirst
------------------------------------

Key: DNET-753
URL: http://tracker.firebirdsql.org/browse/DNET-753
Project: .NET Data provider
Issue Type: Bug
Components: ADO.NET Provider
Affects Versions: 5.8.1.0
Environment: Firebird 2.5 Server, EntityFramework6.1.3, .net 4.6.2
Reporter: Andreas Patock
Assignee: Jiri Cincura


If we use a classname longer than 15 letters we get a "Name longer than database column size" on Update-Database.
I think someone does a byte count over a unicode string, so 16 letters result in 32 bytes and this is more than the firebird restriction.
What I wonder is that the problem didn't appear on foreignkey-names.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...