Table of Contents

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

IKEFCoreCluster

DesignTimeModel

Reference to IDesignTimeModel received

IDesignTimeModel DesignTimeModel { get; }

Property Value

IDesignTimeModel

InfrastructureLogger

IDiagnosticsLogger<DbLoggerCategory.Infrastructure> InfrastructureLogger { get; }

Property Value

IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

Options

Reference to KEFCoreOptionsExtension received

KEFCoreOptionsExtension Options { get; }

Property Value

KEFCoreOptionsExtension

Tables

Reference to the set of IKEFCoreTable associated

IReadOnlyList<IKEFCoreTable> Tables { get; }

Property Value

IReadOnlyList<IKEFCoreTable>

TransactionManager

Reference to IDbContextTransactionManager received

IDbContextTransactionManager TransactionManager { get; }

Property Value

IDbContextTransactionManager

UpdateAdapterFactory

Reference to IUpdateAdapterFactory received

IUpdateAdapterFactory UpdateAdapterFactory { get; }

Property Value

IUpdateAdapterFactory

Methods

EnsureDatabaseConnected()

Execute the CanConnect()

bool EnsureDatabaseConnected()

Returns

bool

EnsureDatabaseCreated()

Execute the EnsureCreated()

bool EnsureDatabaseCreated()

Returns

bool

EnsureDatabaseDeleted()

Execute the EnsureDeleted()

bool EnsureDatabaseDeleted()

Returns

bool

EnsureDatabaseSynchronized(long)

Verify if local instance is synchronized with the Cluster

bool? EnsureDatabaseSynchronized(long timeout)

Parameters

timeout long

Returns

bool?

RegisterTables(IEnumerable<IKEFCoreTable>)

Register IKEFCoreTable in this instance

void RegisterTables(IEnumerable<IKEFCoreTable> tables)

Parameters

tables IEnumerable<IKEFCoreTable>

The set of IKEFCoreTable to register