|
|
@ -26,7 +26,7 @@ namespace MyCompanyName.MyProjectName.EntityFrameworkCore |
|
|
//Configure table & schema name
|
|
|
//Configure table & schema name
|
|
|
b.ToTable(options.TablePrefix + "Questions", options.Schema); |
|
|
b.ToTable(options.TablePrefix + "Questions", options.Schema); |
|
|
|
|
|
|
|
|
b.ConfigureFullAuditedAggregateRoot(); |
|
|
b.ConfigureByConvention(); |
|
|
|
|
|
|
|
|
//Properties
|
|
|
//Properties
|
|
|
b.Property(q => q.Title).IsRequired().HasMaxLength(QuestionConsts.MaxTitleLength); |
|
|
b.Property(q => q.Title).IsRequired().HasMaxLength(QuestionConsts.MaxTitleLength); |
|
|
|