You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.8 KiB
C#
61 lines
1.8 KiB
C#
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using EntityFrameworkCore.Jet.Data;
|
|
using System.Linq;
|
|
using EntityFrameworkCore.Jet.FunctionalTests.TestUtilities;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Diagnostics;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Metadata;
|
|
using Microsoft.EntityFrameworkCore.Storage;
|
|
using Microsoft.EntityFrameworkCore.TestUtilities;
|
|
using Xunit;
|
|
using NetTopologySuite.Geometries;
|
|
using static EntityFrameworkCore.Jet.FunctionalTests.JetValueGenerationScenariosTestBase;
|
|
|
|
#nullable disable
|
|
// ReSharper disable InconsistentNaming
|
|
namespace EntityFrameworkCore.Jet.FunctionalTests
|
|
{
|
|
public class JetValueGenerationScenariosTest : JetValueGenerationScenariosTestBase
|
|
{
|
|
protected override string DatabaseName
|
|
=> "JetValueGenerationScenariosTest";
|
|
|
|
protected override Guid GuidSentinel
|
|
=> new();
|
|
|
|
protected override int IntSentinel
|
|
=> 0;
|
|
|
|
protected override uint UIntSentinel
|
|
=> 0;
|
|
|
|
protected override IntKey IntKeySentinel
|
|
=> IntKey.Zero;
|
|
|
|
protected override ULongKey ULongKeySentinel
|
|
=> ULongKey.Zero;
|
|
|
|
protected override int? NullableIntSentinel
|
|
=> null;
|
|
|
|
protected override string StringSentinel
|
|
=> null;
|
|
|
|
protected override DateTime DateTimeSentinel
|
|
=> new();
|
|
|
|
protected override NeedsConverter NeedsConverterSentinel
|
|
=> new(0);
|
|
|
|
protected override GeometryCollection GeometryCollectionSentinel
|
|
=> null;
|
|
|
|
protected override byte[] TimestampSentinel
|
|
=> null;
|
|
}
|
|
}
|