Table of Contents

Class KEFCoreTableFactory

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 class KEFCoreTableFactory : IKEFCoreTableFactory, IDisposable
Inheritance
KEFCoreTableFactory
Implements
Inherited Members

Remarks

Default initializer

Constructors

KEFCoreTableFactory(ILoggingOptions, IKEFCoreSingletonOptions)

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 KEFCoreTableFactory(ILoggingOptions loggingOptions, IKEFCoreSingletonOptions options)

Parameters

loggingOptions ILoggingOptions
options IKEFCoreSingletonOptions

Remarks

Default initializer

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Get(IKEFCoreCluster, IEntityType)

Allocate a new IKEFCoreTable

public virtual IKEFCoreTable Get(IKEFCoreCluster cluster, IEntityType entityType)

Parameters

cluster IKEFCoreCluster
entityType IEntityType

Returns

IKEFCoreTable

GetOrCreate(IKEFCoreDatabase, IEntityType)

Allocate a new IKEFCoreTable

public virtual IKEFCoreTable GetOrCreate(IKEFCoreDatabase database, IEntityType entityType)

Parameters

database IKEFCoreDatabase
entityType IEntityType

Returns

IKEFCoreTable

NeedsNewTables(IKEFCoreCluster, IEnumerable<IEntityType>)

Check if all entityTypes have associated IKEFCoreTable

public virtual bool NeedsNewTables(IKEFCoreCluster cluster, IEnumerable<IEntityType> entityTypes)

Parameters

cluster IKEFCoreCluster
entityTypes IEnumerable<IEntityType>

Returns

bool

Start(IKEFCoreDatabase)

Returns a IKEFCoreTable

public void Start(IKEFCoreDatabase database)

Parameters

database IKEFCoreDatabase