[FB-Tracker] Created: (DNET-753) Problem with Tablename and CodeFirst

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[FB-Tracker] Created: (DNET-753) Problem with Tablename and CodeFirst

JIRA tracker@firebirdsql.org
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:
         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


Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-net-provider mailing list
[hidden email]