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.
31 lines
920 B
C#
31 lines
920 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using Xunit;
|
|
|
|
namespace EntityFramework.Jet.FunctionalTests
|
|
{
|
|
public class PropertyEntryJetTest : PropertyEntryTestBase<JetTestStore, F1JetFixture>
|
|
{
|
|
public PropertyEntryJetTest(F1JetFixture fixture)
|
|
: base(fixture)
|
|
{
|
|
}
|
|
|
|
public override void Property_entry_original_value_is_set()
|
|
{
|
|
base.Property_entry_original_value_is_set();
|
|
|
|
Assert.Contains(
|
|
@"SELECT TOP(1) [e].[Id], [e].[EngineSupplierId], [e].[Name], [e].[Id], [e].[StorageLocation_Latitude], [e].[StorageLocation_Longitude]
|
|
FROM [Engines] AS [e]",
|
|
Sql);
|
|
|
|
Assert.Contains(
|
|
@"UPDATE [Engines] SET [Name] = @p0
|
|
WHERE [Id] = @p1 AND [EngineSupplierId] = @p2 AND [Name] = @p3",
|
|
Sql);
|
|
}
|
|
|
|
private string Sql => Fixture.TestSqlLoggerFactory.Sql;
|
|
}
|
|
}
|