ObjectContext.CreateDatabaseScript() creating wrong output for table fields of 
type DOUBLE
------------------------------------------------------------------------------------------

                 Key: DNET-480
                 URL: http://tracker.firebirdsql.org/browse/DNET-480
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 2.7.5
         Environment: Windows 7, .NET 4.0, C#, Entity Framework v4
            Reporter: Miloslav Holúbek
            Assignee: Jiri Cincura
            Priority: Critical


When you have Firebird table with field of double type and want to use 
ObjectContext's method CreateDatabase(), (using CreateDatabaseScript() 
internally), its generating bad script output internally and throwing exception.

Example of current output (its throwing "Token unknown - line 10, column 27 
NOT"):
RECREATE TABLE "ITEMS" (
        "ID" BIGINT NOT NULL,
        ...
        "AMOUNT" DOUBLE NOT NULL,
        ...
);

Should be:
RECREATE TABLE "ITEMS" (
        "ID" BIGINT NOT NULL,
        ...
        "AMOUNT" DOUBLE PRECISION NOT NULL,
        ...
);

-- 
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

       

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to