From: Marcus M. (JIRA) <tr...@fi...> - 2013-09-06 21:45:35
|
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 |