|
|
|
|
@ -35,7 +35,7 @@ namespace EntityFrameworkCore.Jet.FunctionalTests
|
|
|
|
|
const string expected = @"#Dual.ID ---> [integer]
|
|
|
|
|
BinaryForeignKeyDataType.BinaryKeyDataTypeId ---> [nullable varbinary] [MaxLength = 255]
|
|
|
|
|
BinaryForeignKeyDataType.Id ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
BinaryKeyDataType.Ex ---> [nullable varbinary] [MaxLength = -1]
|
|
|
|
|
BinaryKeyDataType.Ex ---> [nullable varbinary] [MaxLength = 510]
|
|
|
|
|
BinaryKeyDataType.Id ---> [varbinary] [MaxLength = 255]
|
|
|
|
|
BuiltInDataTypes.Enum16 ---> [varbinary] [MaxLength = 2]
|
|
|
|
|
BuiltInDataTypes.Enum32 ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
@ -50,6 +50,7 @@ BuiltInDataTypes.PartitionId ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
BuiltInDataTypes.TestBoolean ---> [varbinary] [MaxLength = 1]
|
|
|
|
|
BuiltInDataTypes.TestByte ---> [varbinary] [MaxLength = 1]
|
|
|
|
|
BuiltInDataTypes.TestCharacter ---> [varbinary] [MaxLength = 2]
|
|
|
|
|
BuiltInDataTypes.TestDateOnly ---> [varbinary] [MaxLength = 510]
|
|
|
|
|
BuiltInDataTypes.TestDateTime ---> [varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInDataTypes.TestDateTimeOffset ---> [varbinary] [MaxLength = 12]
|
|
|
|
|
BuiltInDataTypes.TestDecimal ---> [varbinary] [MaxLength = 16]
|
|
|
|
|
@ -59,6 +60,7 @@ BuiltInDataTypes.TestInt32 ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
BuiltInDataTypes.TestInt64 ---> [varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInDataTypes.TestSignedByte ---> [varbinary] [MaxLength = 1]
|
|
|
|
|
BuiltInDataTypes.TestSingle ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
BuiltInDataTypes.TestTimeOnly ---> [varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInDataTypes.TestTimeSpan ---> [varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInDataTypes.TestUnsignedInt16 ---> [varbinary] [MaxLength = 2]
|
|
|
|
|
BuiltInDataTypes.TestUnsignedInt32 ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
@ -76,6 +78,7 @@ BuiltInDataTypesShadow.PartitionId ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
BuiltInDataTypesShadow.TestBoolean ---> [varbinary] [MaxLength = 1]
|
|
|
|
|
BuiltInDataTypesShadow.TestByte ---> [varbinary] [MaxLength = 1]
|
|
|
|
|
BuiltInDataTypesShadow.TestCharacter ---> [varbinary] [MaxLength = 2]
|
|
|
|
|
BuiltInDataTypesShadow.TestDateOnly ---> [varbinary] [MaxLength = 510]
|
|
|
|
|
BuiltInDataTypesShadow.TestDateTime ---> [varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInDataTypesShadow.TestDateTimeOffset ---> [varbinary] [MaxLength = 12]
|
|
|
|
|
BuiltInDataTypesShadow.TestDecimal ---> [varbinary] [MaxLength = 16]
|
|
|
|
|
@ -85,6 +88,7 @@ BuiltInDataTypesShadow.TestInt32 ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
BuiltInDataTypesShadow.TestInt64 ---> [varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInDataTypesShadow.TestSignedByte ---> [varbinary] [MaxLength = 1]
|
|
|
|
|
BuiltInDataTypesShadow.TestSingle ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
BuiltInDataTypesShadow.TestTimeOnly ---> [varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInDataTypesShadow.TestTimeSpan ---> [varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInDataTypesShadow.TestUnsignedInt16 ---> [varbinary] [MaxLength = 2]
|
|
|
|
|
BuiltInDataTypesShadow.TestUnsignedInt32 ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
@ -99,10 +103,11 @@ BuiltInNullableDataTypes.EnumU32 ---> [nullable varbinary] [MaxLength = 4]
|
|
|
|
|
BuiltInNullableDataTypes.EnumU64 ---> [nullable varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInNullableDataTypes.Id ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
BuiltInNullableDataTypes.PartitionId ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
BuiltInNullableDataTypes.TestByteArray ---> [nullable varbinary] [MaxLength = -1]
|
|
|
|
|
BuiltInNullableDataTypes.TestByteArray ---> [nullable varbinary] [MaxLength = 510]
|
|
|
|
|
BuiltInNullableDataTypes.TestNullableBoolean ---> [nullable varbinary] [MaxLength = 1]
|
|
|
|
|
BuiltInNullableDataTypes.TestNullableByte ---> [nullable varbinary] [MaxLength = 1]
|
|
|
|
|
BuiltInNullableDataTypes.TestNullableCharacter ---> [nullable varbinary] [MaxLength = 2]
|
|
|
|
|
BuiltInNullableDataTypes.TestNullableDateOnly ---> [nullable varbinary] [MaxLength = 510]
|
|
|
|
|
BuiltInNullableDataTypes.TestNullableDateTime ---> [nullable varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInNullableDataTypes.TestNullableDateTimeOffset ---> [nullable varbinary] [MaxLength = 12]
|
|
|
|
|
BuiltInNullableDataTypes.TestNullableDecimal ---> [nullable varbinary] [MaxLength = 16]
|
|
|
|
|
@ -112,11 +117,12 @@ BuiltInNullableDataTypes.TestNullableInt32 ---> [nullable varbinary] [MaxLength
|
|
|
|
|
BuiltInNullableDataTypes.TestNullableInt64 ---> [nullable varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInNullableDataTypes.TestNullableSignedByte ---> [nullable varbinary] [MaxLength = 1]
|
|
|
|
|
BuiltInNullableDataTypes.TestNullableSingle ---> [nullable varbinary] [MaxLength = 4]
|
|
|
|
|
BuiltInNullableDataTypes.TestNullableTimeOnly ---> [nullable varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInNullableDataTypes.TestNullableTimeSpan ---> [nullable varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInNullableDataTypes.TestNullableUnsignedInt16 ---> [nullable varbinary] [MaxLength = 2]
|
|
|
|
|
BuiltInNullableDataTypes.TestNullableUnsignedInt32 ---> [nullable varbinary] [MaxLength = 4]
|
|
|
|
|
BuiltInNullableDataTypes.TestNullableUnsignedInt64 ---> [nullable varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInNullableDataTypes.TestString ---> [nullable varbinary] [MaxLength = -1]
|
|
|
|
|
BuiltInNullableDataTypes.TestString ---> [nullable varbinary] [MaxLength = 510]
|
|
|
|
|
BuiltInNullableDataTypesShadow.Enum16 ---> [nullable varbinary] [MaxLength = 2]
|
|
|
|
|
BuiltInNullableDataTypesShadow.Enum32 ---> [nullable varbinary] [MaxLength = 4]
|
|
|
|
|
BuiltInNullableDataTypesShadow.Enum64 ---> [nullable varbinary] [MaxLength = 8]
|
|
|
|
|
@ -127,10 +133,11 @@ BuiltInNullableDataTypesShadow.EnumU32 ---> [nullable varbinary] [MaxLength = 4]
|
|
|
|
|
BuiltInNullableDataTypesShadow.EnumU64 ---> [nullable varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInNullableDataTypesShadow.Id ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
BuiltInNullableDataTypesShadow.PartitionId ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestByteArray ---> [nullable varbinary] [MaxLength = -1]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestByteArray ---> [nullable varbinary] [MaxLength = 510]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestNullableBoolean ---> [nullable varbinary] [MaxLength = 1]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestNullableByte ---> [nullable varbinary] [MaxLength = 1]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestNullableCharacter ---> [nullable varbinary] [MaxLength = 2]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestNullableDateOnly ---> [nullable varbinary] [MaxLength = 510]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestNullableDateTime ---> [nullable varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestNullableDateTimeOffset ---> [nullable varbinary] [MaxLength = 12]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestNullableDecimal ---> [nullable varbinary] [MaxLength = 16]
|
|
|
|
|
@ -140,31 +147,33 @@ BuiltInNullableDataTypesShadow.TestNullableInt32 ---> [nullable varbinary] [MaxL
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestNullableInt64 ---> [nullable varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestNullableSignedByte ---> [nullable varbinary] [MaxLength = 1]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestNullableSingle ---> [nullable varbinary] [MaxLength = 4]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestNullableTimeOnly ---> [nullable varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestNullableTimeSpan ---> [nullable varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestNullableUnsignedInt16 ---> [nullable varbinary] [MaxLength = 2]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestNullableUnsignedInt32 ---> [nullable varbinary] [MaxLength = 4]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestNullableUnsignedInt64 ---> [nullable varbinary] [MaxLength = 8]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestString ---> [nullable varbinary] [MaxLength = -1]
|
|
|
|
|
BuiltInNullableDataTypesShadow.TestString ---> [nullable varbinary] [MaxLength = 510]
|
|
|
|
|
DateTimeEnclosure.DateTimeOffset ---> [nullable varbinary] [MaxLength = 12]
|
|
|
|
|
DateTimeEnclosure.Id ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
EmailTemplate.Id ---> [varbinary] [MaxLength = 16]
|
|
|
|
|
EmailTemplate.TemplateType ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
MaxLengthDataTypes.ByteArray5 ---> [nullable varbinary] [MaxLength = 5]
|
|
|
|
|
MaxLengthDataTypes.ByteArray9000 ---> [nullable varbinary] [MaxLength = -1]
|
|
|
|
|
MaxLengthDataTypes.ByteArray9000 ---> [nullable varbinary] [MaxLength = 255]
|
|
|
|
|
MaxLengthDataTypes.Id ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
MaxLengthDataTypes.String3 ---> [nullable varbinary] [MaxLength = 3]
|
|
|
|
|
MaxLengthDataTypes.String9000 ---> [nullable varbinary] [MaxLength = -1]
|
|
|
|
|
MaxLengthDataTypes.String9000 ---> [nullable varbinary] [MaxLength = 255]
|
|
|
|
|
MaxLengthDataTypes.StringUnbounded ---> [nullable varbinary] [MaxLength = 255]
|
|
|
|
|
StringEnclosure.Id ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
StringEnclosure.Value ---> [nullable varbinary] [MaxLength = -1]
|
|
|
|
|
StringEnclosure.Value ---> [nullable varbinary] [MaxLength = 510]
|
|
|
|
|
StringForeignKeyDataType.Id ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
StringForeignKeyDataType.StringKeyDataTypeId ---> [nullable varbinary] [MaxLength = 255]
|
|
|
|
|
StringKeyDataType.Id ---> [varbinary] [MaxLength = 255]
|
|
|
|
|
UnicodeDataTypes.Id ---> [varbinary] [MaxLength = 4]
|
|
|
|
|
UnicodeDataTypes.StringAnsi ---> [nullable varbinary] [MaxLength = -1]
|
|
|
|
|
UnicodeDataTypes.StringAnsi ---> [nullable varbinary] [MaxLength = 510]
|
|
|
|
|
UnicodeDataTypes.StringAnsi3 ---> [nullable varbinary] [MaxLength = 3]
|
|
|
|
|
UnicodeDataTypes.StringAnsi9000 ---> [nullable varbinary] [MaxLength = -1]
|
|
|
|
|
UnicodeDataTypes.StringDefault ---> [nullable varbinary] [MaxLength = -1]
|
|
|
|
|
UnicodeDataTypes.StringUnicode ---> [nullable varbinary] [MaxLength = -1]
|
|
|
|
|
UnicodeDataTypes.StringAnsi9000 ---> [nullable varbinary] [MaxLength = 255]
|
|
|
|
|
UnicodeDataTypes.StringDefault ---> [nullable varbinary] [MaxLength = 510]
|
|
|
|
|
UnicodeDataTypes.StringUnicode ---> [nullable varbinary] [MaxLength = 510]
|
|
|
|
|
";
|
|
|
|
|
|
|
|
|
|
Assert.Equal(expected, actual, ignoreLineEndingDifferences: true);
|
|
|
|
|
|