protected override void ConfigureProperty(BasePropertyBuilder <TaskHandlerProvider> builder) { builder.Property(a => a.ID) .ValueGeneratedNever(); builder.Property(p => p.TaskAssembly) .IsRequired() .HasMaxLength(StringLengthConstant.Assembly); builder.Property(p => p.TaskClass) .IsRequired() .HasMaxLength(StringLengthConstant.ClassName); builder.Property(p => p.HandlerAssembly) .HasMaxLength(StringLengthConstant.Assembly); builder.Property(p => p.HandlerClass) .HasMaxLength(StringLengthConstant.ClassName); }
protected override void ConfigureProperty(BasePropertyBuilder <Loan> builder) { builder.Property(a => a.LoanID).ValueGeneratedOnAdd(); builder.Property(p => p.Code) .IsRequired() .HasMaxLength(StringLengthConstant.Code); builder.Property(p => p.ShortDesc) .IsRequired() .HasMaxLength(StringLengthConstant.ShortDesc); builder.Property(p => p.LongDesc) .IsRequired() .HasMaxLength(StringLengthConstant.LongDesc); builder.Property(p => p.AltDesc) .HasMaxLength(StringLengthConstant.AltDesc); }
protected override void ConfigureProperty(BasePropertyBuilder<MasterEmployeeDeduction> builder) { builder.Property(a => a.MasterEmployeeDeductionID) .ValueGeneratedOnAdd(); builder.Property(p => p.ShortDesc) .IsRequired() .HasMaxLength(StringLengthConstant.ShortDesc); builder.Property(p => p.LongDesc) .IsRequired() .HasMaxLength(StringLengthConstant.LongDesc); builder.Property(p => p.AltDesc) .HasMaxLength(StringLengthConstant.AltDesc); builder.Property(a => a.RecordStatus) .HasConversion<string>() .HasMaxLength(StringLengthConstant.Enums); }
protected override void ConfigureProperty(BasePropertyBuilder <Email> builder) { builder.Property(a => a.From) .HasMaxLength(500); builder.Property(a => a.To) .HasMaxLength(500); builder.Property(a => a.CC) .HasMaxLength(500); builder.Property(a => a.Subject) .HasMaxLength(200); builder.Property(a => a.Remarks) .HasMaxLength(500); builder.Property(a => a.Status) .HasConversion <string>() .HasMaxLength(StringLengthConstant.Enums); }
protected override void ConfigureProperty(BasePropertyBuilder <Earning> builder) { builder.Property(a => a.ComputedBy) .HasConversion <string>() .HasMaxLength(StringLengthConstant.Enums); builder.Property(p => p.Code) .IsRequired() .HasMaxLength(StringLengthConstant.Code); builder.Property(p => p.ShortDesc) .IsRequired() .HasMaxLength(StringLengthConstant.ShortDesc); builder.Property(p => p.LongDesc) .IsRequired() .HasMaxLength(StringLengthConstant.LongDesc); builder.Property(p => p.AltDesc) .HasMaxLength(StringLengthConstant.AltDesc); }
protected override void ConfigureProperty(BasePropertyBuilder <TextTemplate> builder) { builder.Property(a => a.Code) .IsRequired() .HasMaxLength(StringLengthConstant.Code); builder.Property(a => a.Title) .IsRequired() .HasMaxLength(200); builder.Property(a => a.Content) .IsRequired(); builder.Property(a => a.Version) .IsRequired() .HasMaxLength(10); builder.Property(a => a.RecordStatus) .HasConversion <string>() .IsRequired() .HasMaxLength(StringLengthConstant.Enums); }
public abstract void ConfigureProperty(BasePropertyBuilder <T> builder);
protected override void ConfigureProperty(BasePropertyBuilder <EmployeeEarning> builder) { builder.Property(a => a.EmployeeEarningID) .ValueGeneratedOnAdd(); }
protected virtual void ConfigureProperty(BasePropertyBuilder <T> builder) { }
public override void ConfigureProperty(BasePropertyBuilder <HeroSkill> builder) { builder.Property <int>("HeroID"); builder.Property <int>("SkillID"); }
protected override void ConfigureProperty(BasePropertyBuilder <FirebaseToken> builder) { builder.Property(a => a.Token) .IsRequired() .HasMaxLength(300); }
protected override void ConfigureProperty(BasePropertyBuilder <MasterEmployee> builder) { builder.Property(a => a.RecordStatus) .HasConversion <string>() .HasMaxLength(StringLengthConstant.Enums); }
protected override void ConfigureProperty(BasePropertyBuilder <ProcessInstanceMessage> builder) { builder.Property(a => a.Message) .IsRequired(); }
protected override void ConfigureProperty(BasePropertyBuilder <SchedulerEntry> builder) { builder.Property(a => a.Remarks) .HasMaxLength(StringLengthConstant.Remarks); }
public override void ConfigureProperty(BasePropertyBuilder <Hero> builder) { builder.Property(a => a.Name) .HasMaxLength(ConfigConstants.NameMaxLength) .IsRequired(); }
protected override void ConfigureProperty(BasePropertyBuilder <Client> builder) { builder.Property(a => a.Name) .IsRequired() .HasMaxLength(200); }
protected override void ConfigureProperty(BasePropertyBuilder <StagingPerson> builder) { builder.Property(a => a.EmployeeSysID) .IsRequired() .HasMaxLength(20); }