From 05b10ea856c5917c8c87d0870f1109ccff3fc48d Mon Sep 17 00:00:00 2001 From: Christopher Jolly Date: Sun, 16 Oct 2022 06:39:07 +0800 Subject: [PATCH] Type MApping: a long gets mapped to integer in Jet --- src/EFCore.Jet/Storage/Internal/JetTypeMappingSource.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EFCore.Jet/Storage/Internal/JetTypeMappingSource.cs b/src/EFCore.Jet/Storage/Internal/JetTypeMappingSource.cs index 05c3f6c..71982e5 100644 --- a/src/EFCore.Jet/Storage/Internal/JetTypeMappingSource.cs +++ b/src/EFCore.Jet/Storage/Internal/JetTypeMappingSource.cs @@ -33,7 +33,7 @@ namespace EntityFrameworkCore.Jet.Storage.Internal private readonly ByteTypeMapping _byte = new ByteTypeMapping("byte", DbType.Byte); // unsigned, there is no signed byte in Jet private readonly ShortTypeMapping _smallint = new ShortTypeMapping("smallint", DbType.Int16); private readonly IntTypeMapping _integer = new JetIntTypeMapping("integer"); - private readonly JetLongTypeMapping _bigint = new JetLongTypeMapping("decimal"); + private readonly JetLongTypeMapping _bigint = new JetLongTypeMapping("integer");//a long and integer are the same in Jet private readonly JetFloatTypeMapping _single = new JetFloatTypeMapping("single"); private readonly JetDoubleTypeMapping _double = new JetDoubleTypeMapping("double");