Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
Update generating-crud-page.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EngincanV committed Feb 27, 2024
1 parent 5701cc8 commit 1e7cf5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion en/abp-suite/generating-crud-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ To create a new entity, make sure the *-New entity-* is selected in the **Entity
* **Customizable code**: Specifies hook-points to allow adding custom code blocks. Then, the code blocks that were written by you will not be overridden in the next entity generation and will be respected.

* **Multi-tenant**: For your multi-tenant application, you can set an entity as multi-tenant which means the data will be isolated between the tenants. To make an entity multi-tenant, ABP Suite adds the `IMultiTenant` interface to the entity. Further information see [Multi-Tenancy](https://docs.abp.io/{{Document_Language_Code}}/abp/{{Document_Version}}/Multi-Tenancy)


* If you created your application with *Separated tenant schema* support, then when you enable the multi-tenancy for the entity, database configurations (DbSet definitions and model configurations) will be defined in both `MyProjectNameDbContext` and `MyProjectNameTenantDbContext` (can be used for tenant-specific configurations) classes. Otherwise, the database configurations will only be defined in the `MyProjectNameDbContext` class for the host.

* **Add migration:** Adds a new migration for the new entity. If you are updating an existing entity, it creates an update migration.

* **Update database:** When you add a new migration, ABP Suite can automatically execute update-database command so that the changes are being applied to the database.
Expand Down

0 comments on commit 1e7cf5c

Please sign in to comment.