Interface IKEFCoreDatabase
- Namespace
- MASES.EntityFrameworkCore.KNet.Storage.Internal
- Assembly
- MASES.EntityFrameworkCore.KNet.dll
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public interface IKEFCoreDatabase : IDatabase, IDisposable
- Inherited Members
Properties
Cluster
The referring IKEFCoreCluster
IKEFCoreCluster Cluster { get; }
Property Value
DesignTimeModel
Reference to IDesignTimeModel received
IDesignTimeModel DesignTimeModel { get; }
Property Value
InfrastructureLogger
Reference to IDiagnosticsLogger<TLoggerCategory> received
IDiagnosticsLogger<DbLoggerCategory.Infrastructure> InfrastructureLogger { get; }
Property Value
Options
Reference to KEFCoreOptionsExtension received
KEFCoreOptionsExtension Options { get; }
Property Value
Tables
Reference to the set of IKEFCoreTable associated
IReadOnlyList<IKEFCoreTable> Tables { get; }
Property Value
TransactionManager
Reference to IDbContextTransactionManager received
IDbContextTransactionManager TransactionManager { get; }
Property Value
UpdateAdapterFactory
Reference to IUpdateAdapterFactory received
IUpdateAdapterFactory UpdateAdapterFactory { get; }
Property Value
Methods
EnsureDatabaseConnected()
Execute the CanConnect()
bool EnsureDatabaseConnected()
Returns
EnsureDatabaseCreated()
Execute the EnsureCreated()
bool EnsureDatabaseCreated()
Returns
EnsureDatabaseDeleted()
Execute the EnsureDeleted()
bool EnsureDatabaseDeleted()
Returns
EnsureDatabaseSynchronized(long)
Verify if local instance is synchronized with the Cluster
bool? EnsureDatabaseSynchronized(long timeout)
Parameters
timeoutlong
Returns
- bool?
RegisterTables(IEnumerable<IKEFCoreTable>)
Register IKEFCoreTable in this instance
void RegisterTables(IEnumerable<IKEFCoreTable> tables)
Parameters
tablesIEnumerable<IKEFCoreTable>The set of IKEFCoreTable to register