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.
EntityFrameworkCore.Jet/test/EFCore.Jet.IntegrationTests/Model09/OneMap.cs

15 lines
384 B
C#

using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace EntityFrameworkCore.Jet.IntegrationTests.Model09
{
public class OneMap : IEntityTypeConfiguration<One>
{
public void Configure(EntityTypeBuilder<One> builder)
{
builder.HasKey(t => t.Id);
builder.ToTable("One");
}
}
}