Merge pull request #3151 from abpframework/maliming/patch-3

Added DBMS restrictions in Entity-Framework-Core-Other-DBMS.
pull/3173/head
Halil İbrahim Kalkan 6 years ago committed by GitHub
commit 4ae63a663d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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