There is no store type corresponding to the EDM type 'Edm.Byte' of primitive 
type 'Byte'
----------------------------------------------------------------------------------------

                 Key: DNET-519
                 URL: http://tracker.firebirdsql.org/browse/DNET-519
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 3.1.1.0
            Reporter: Marcus Miris
            Assignee: Jiri Cincura
            Priority: Blocker


With the class...

public class Foo {
byte prop { get; set; }
}

...the provider threw: "There is no store type corresponding to the EDM type 
'Edm.Byte' of primitive type 'Byte'.

I checked and I think the following code at 
"FbProviderManifest.GetStoreType(edmType)" fixes the issue.

case PrimitiveTypeKind.Byte:
                    return 
TypeUsage.CreateDefaultTypeUsage(StoreTypeNameToStorePrimitiveType["smallint"]);



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

        

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to