Added DBMS restrictions in Entity-Framework-Core-Other-DBMS.

Resolve #2632
pull/3151/head
maliming 6 years ago
parent 63446bc891
commit cfae4988f8

@ -91,4 +91,18 @@ Run the `.DbMigrator` project to create the database and seed the initial data.
## Run the Application
It is ready. Just run the application and enjoy coding.
It is ready. Just run the application and enjoy coding.
## DBMS restrictions
Different DBMS may have some restrictions, such as the maximum length of field names, index length, etc.
The module may provide some built-in solutions. You can configure it via `ModelBuilder`. eg: `Identity Server` module.
```csharp
builder.ConfigureIdentityServer(options =>
{
options.DatabaseProvider = EfCoreDatabaseProvider.MySql;
});
```
Related discussions: https://github.com/abpframework/abp/issues/1920

@ -91,4 +91,18 @@ builder.ConfigureIdentityServer(options =>
## 运行应用程序
它已准备就绪, 只需要运行该应用程序与享受编码.
它已准备就绪, 只需要运行该应用程序与享受编码.
## DBMS限制
不同的DBMS可能存在一些限制, 如字段名称的最大长度, 索引长度等等.
模块可能提供了一些内置的解决方案. 你可以通过`ModelBuilder`来配置它 如: Identity Server模块
```csharp
builder.ConfigureIdentityServer(options =>
{
options.DatabaseProvider = EfCoreDatabaseProvider.MySql;
});
```
相关讨论: https://github.com/abpframework/abp/issues/1920
Loading…
Cancel
Save