mirror of https://github.com/abpframework/abp.git
8 changed files with 23 additions and 7 deletions
@ -1,12 +1,14 @@ |
|||||
using Microsoft.EntityFrameworkCore; |
using Microsoft.EntityFrameworkCore; |
||||
using Volo.Abp.Data; |
using Volo.Abp.Data; |
||||
using Volo.Abp.EntityFrameworkCore; |
using Volo.Abp.EntityFrameworkCore; |
||||
|
using Volo.Abp.MultiTenancy; |
||||
|
|
||||
namespace Volo.Abp.FeatureManagement.EntityFrameworkCore |
namespace Volo.Abp.FeatureManagement.EntityFrameworkCore |
||||
{ |
{ |
||||
|
[IgnoreMultiTenancy] |
||||
[ConnectionStringName(FeatureManagementDbProperties.ConnectionStringName)] |
[ConnectionStringName(FeatureManagementDbProperties.ConnectionStringName)] |
||||
public interface IFeatureManagementDbContext : IEfCoreDbContext |
public interface IFeatureManagementDbContext : IEfCoreDbContext |
||||
{ |
{ |
||||
DbSet<FeatureValue> FeatureValues { get; set; } |
DbSet<FeatureValue> FeatureValues { get; set; } |
||||
} |
} |
||||
} |
} |
||||
|
|||||
@ -1,12 +1,14 @@ |
|||||
using Microsoft.EntityFrameworkCore; |
using Microsoft.EntityFrameworkCore; |
||||
using Volo.Abp.Data; |
using Volo.Abp.Data; |
||||
using Volo.Abp.EntityFrameworkCore; |
using Volo.Abp.EntityFrameworkCore; |
||||
|
using Volo.Abp.MultiTenancy; |
||||
|
|
||||
namespace Volo.Abp.SettingManagement.EntityFrameworkCore |
namespace Volo.Abp.SettingManagement.EntityFrameworkCore |
||||
{ |
{ |
||||
|
[IgnoreMultiTenancy] |
||||
[ConnectionStringName(AbpSettingManagementDbProperties.ConnectionStringName)] |
[ConnectionStringName(AbpSettingManagementDbProperties.ConnectionStringName)] |
||||
public interface ISettingManagementDbContext : IEfCoreDbContext |
public interface ISettingManagementDbContext : IEfCoreDbContext |
||||
{ |
{ |
||||
DbSet<Setting> Settings { get; set; } |
DbSet<Setting> Settings { get; set; } |
||||
} |
} |
||||
} |
} |
||||
|
|||||
@ -1,12 +1,14 @@ |
|||||
using MongoDB.Driver; |
using MongoDB.Driver; |
||||
using Volo.Abp.Data; |
using Volo.Abp.Data; |
||||
using Volo.Abp.MongoDB; |
using Volo.Abp.MongoDB; |
||||
|
using Volo.Abp.MultiTenancy; |
||||
|
|
||||
namespace Volo.Abp.SettingManagement.MongoDB |
namespace Volo.Abp.SettingManagement.MongoDB |
||||
{ |
{ |
||||
|
[IgnoreMultiTenancy] |
||||
[ConnectionStringName(AbpSettingManagementDbProperties.ConnectionStringName)] |
[ConnectionStringName(AbpSettingManagementDbProperties.ConnectionStringName)] |
||||
public interface ISettingManagementMongoDbContext : IAbpMongoDbContext |
public interface ISettingManagementMongoDbContext : IAbpMongoDbContext |
||||
{ |
{ |
||||
IMongoCollection<Setting> Settings { get; } |
IMongoCollection<Setting> Settings { get; } |
||||
} |
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue