消防培训系统服务器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
585 B

using AX.FireTrainingSys.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AX.FireTrainingSys.EntityConfigurations
{
public class BuildingFeatureConfig : IEntityTypeConfiguration<BuildingFeature>
{
public void Configure(EntityTypeBuilder<BuildingFeature> entity)
{
entity.Property(e => e.CoursewareId)
.IsUnicode(false)
.IsFixedLength();
}
}
}