0
afatima@asb.bh created
- ABP Framework version: v5.3.3
- UI type: Angular
- DB provider: EF Core
I have added the below properties to tenant in the SaasServiceEfCoreEntityExtensionMappings class. I shall be adding additional fields similarly to User Entity as well. How to add these additional fields to the angular tenant and user creation form as well
ObjectExtensionManager.Instance
.MapEfCoreProperty<Tenant, string>(
"Currency",
(entityBuilder, propertyBuilder) =>
{
propertyBuilder.IsRequired(false);
propertyBuilder.HasMaxLength(3);
}
);
ObjectExtensionManager.Instance
.MapEfCoreProperty<Tenant, int?>(
"CurrencyDecimal",
(entityBuilder, propertyBuilder) =>
{
propertyBuilder.IsRequired(false);
}
);
ObjectExtensionManager.Instance
.MapEfCoreProperty<Tenant, DateTime>(
"AcademicYearStart",
(entityBuilder, propertyBuilder) =>
{
propertyBuilder.HasMaxLength(3);
}
);
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)