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.
| 12345678910111213 |
- using Microsoft.EntityFrameworkCore.Metadata.Builders;
-
- namespace Diligent.WebAPI.Data.Configurations
- {
- public class TechnologyConfiguration : IEntityTypeConfiguration<Technology>
- {
- public void Configure(EntityTypeBuilder<Technology> builder)
- {
- builder.Property(c => c.Name).HasMaxLength(128);
- builder.Property(c => c.TechnologyType).HasConversion<string>();
- }
- }
- }
|