79187749

Date: 2024-11-14 07:32:45
Score: 8 🚩
Natty: 4.5
Report link

I also have a similar problem, I set TenantId value inside the constructor, but migration does not works, Can not creates an instance public TenantDbContext(DbContextOptions<TenantDbContext> options, IMemoryCache memoryCache, IHttpContextData contextData, ICryptography cryptography, IConfiguration configuration, IDbUtilities dbUtilities, ISharedLocalizer sharedLocalizer, SeedStatikReferanslar seedStatikReferanslar, SeedRefTip seedSystemReferanslar, SeedReferanslar seedReferanslar, bool DoNotSeedDB = false) : base(options) { _memoryCache = memoryCache; _contextData = contextData; _seedStatikReferanslar = seedStatikReferanslar; _configuration = configuration; _dbUtilities = dbUtilities; _seedSystemReferanslar = seedSystemReferanslar; _seedReferanslar = seedReferanslar; DoNotSeed = DoNotSeedDB; _cryptography = cryptography; _sharedLocalizer = sharedLocalizer; CurrentSingleDbMode = contextData.SingleDbMode; CurrentTenantId = contextData.TenantId; } i need those two current values for singledatabase tenants and global query, app is working like it should be but migration doesn't , is anyone have any solution ?

Reasons:
  • Blacklisted phrase (0.5): i need
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2): any solution ?
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I also have a similar problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Muhammed Ali Tapış