Class BlobStoringDbContext
Implements
IInfrastructure<IServiceProvider>
IDbContextDependencies
IDbSetCache
IDbContextPoolable
IResettableService
Inherited Members
Namespace: Volo.Abp.BlobStoring.Database.EntityFrameworkCore
Assembly: Volo.Abp.BlobStoring.Database.EntityFrameworkCore.dll
Syntax
[ConnectionStringName("AbpBlobStoring")]
public class BlobStoringDbContext : AbpDbContext<BlobStoringDbContext>, IAbpEfCoreDbContext, IAbpEfCoreDbFunctionContext, ITransientDependency, IBlobStoringDbContext, IEfCoreDbContext, IDisposable, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable, IResettableService, IAsyncDisposable
Constructors
BlobStoringDbContext(DbContextOptions<BlobStoringDbContext>)
Declaration
public BlobStoringDbContext(DbContextOptions<BlobStoringDbContext> options)
Parameters
Type | Name | Description |
---|---|---|
DbContextOptions<BlobStoringDbContext> | options |
Properties
BlobContainers
Declaration
public DbSet<DatabaseBlobContainer> BlobContainers { get; set; }
Property Value
Type | Description |
---|---|
DbSet<DatabaseBlobContainer> |
Blobs
Declaration
public DbSet<DatabaseBlob> Blobs { get; set; }
Property Value
Type | Description |
---|---|
DbSet<DatabaseBlob> |
Methods
OnModelCreating(ModelBuilder)
Declaration
protected override void OnModelCreating(ModelBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
ModelBuilder | builder |
Overrides
Volo.Abp.EntityFrameworkCore.AbpDbContext<Volo.Abp.BlobStoring.Database.EntityFrameworkCore.BlobStoringDbContext>.OnModelCreating(Microsoft.EntityFrameworkCore.ModelBuilder)
Implements
Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<>
Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies
Microsoft.EntityFrameworkCore.Internal.IDbSetCache
Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable
Microsoft.EntityFrameworkCore.Infrastructure.IResettableService