From 7913bce29f220cbb3fe8508913c7c270fefbd757 Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Tue, 21 Apr 2020 21:40:31 +0800 Subject: [PATCH] Update multi-tenancy document --- docs/en/Multi-Tenancy.md | 6 +++--- docs/zh-Hans/Multi-Tenancy.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en/Multi-Tenancy.md b/docs/en/Multi-Tenancy.md index 27fe70086c..6adef9b214 100644 --- a/docs/en/Multi-Tenancy.md +++ b/docs/en/Multi-Tenancy.md @@ -172,11 +172,11 @@ namespace MyCompany.MyProject { options.Tenants = new[] { - new TenantInformation( + new TenantConfiguration( Guid.Parse("446a5211-3d72-4339-9adc-845151f8ada0"), //Id "tenant1" //Name ), - new TenantInformation( + new TenantConfiguration( Guid.Parse("25388015-ef1c-4355-9c18-f6b6ddbaf89d"), //Id "tenant2" //Name ) @@ -252,7 +252,7 @@ TODO: This package implements ITenantStore using a real database... #### Tenant Information -ITenantStore works with **TenantInformation** class that has several properties for a tenant: +ITenantStore works with **TenantConfiguration** class that has several properties for a tenant: * **Id**: Unique Id of the tenant. * **Name**: Unique name of the tenant. diff --git a/docs/zh-Hans/Multi-Tenancy.md b/docs/zh-Hans/Multi-Tenancy.md index 8913c27ede..49cf358205 100644 --- a/docs/zh-Hans/Multi-Tenancy.md +++ b/docs/zh-Hans/Multi-Tenancy.md @@ -172,11 +172,11 @@ namespace MyCompany.MyProject { options.Tenants = new[] { - new TenantInformation( + new TenantConfiguration( Guid.Parse("446a5211-3d72-4339-9adc-845151f8ada0"), //Id "tenant1" //Name ), - new TenantInformation( + new TenantConfiguration( Guid.Parse("25388015-ef1c-4355-9c18-f6b6ddbaf89d"), //Id "tenant2" //Name ) @@ -252,7 +252,7 @@ TODO: This package implements ITenantStore using a real database... #### 租户信息 -ITenantStore跟 **TenantInformation**类一起工作,并且包含了几个租户属性: +ITenantStore跟 **TenantConfiguration**类一起工作,并且包含了几个租户属性: * **Id**:租户的唯一Id. * **Name**: 租户的唯一名称.