Browse Source

Revise Tenant ctor.

pull/3410/head
Halil İbrahim Kalkan 7 years ago
parent
commit
9514d2aabd
  1. 5
      modules/tenant-management/src/Volo.Abp.TenantManagement.Domain/Volo/Abp/TenantManagement/Tenant.cs

5
modules/tenant-management/src/Volo.Abp.TenantManagement.Domain/Volo/Abp/TenantManagement/Tenant.cs

@ -14,16 +14,15 @@ namespace Volo.Abp.TenantManagement
protected Tenant() protected Tenant()
{ {
ExtraProperties = new Dictionary<string, object>();
} }
protected internal Tenant(Guid id, [NotNull] string name) protected internal Tenant(Guid id, [NotNull] string name)
: base(id)
{ {
Id = id;
SetName(name); SetName(name);
ConnectionStrings = new List<TenantConnectionString>(); ConnectionStrings = new List<TenantConnectionString>();
ExtraProperties = new Dictionary<string, object>();
} }
[CanBeNull] [CanBeNull]

Loading…
Cancel
Save