Table of Contents

Class EntityTypeProducer<TKey, TValueContainer, TJVMKey, TJVMValueContainer>

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 EntityTypeProducer<TKey, TValueContainer, TJVMKey, TJVMValueContainer> : IEntityTypeProducer, IDisposable where TKey : notnull where TValueContainer : class, IValueContainer<TKey>

Type Parameters

TKey
TValueContainer
TJVMKey
TJVMValueContainer
Inheritance
EntityTypeProducer<TKey, TValueContainer, TJVMKey, TJVMValueContainer>
Implements
Inherited Members

Constructors

EntityTypeProducer(IEntityType, IKafkaCluster)

Default initializer

public EntityTypeProducer(IEntityType entityType, IKafkaCluster cluster)

Parameters

entityType IEntityType
cluster IKafkaCluster

Properties

EntityType

Associated IEntityType

public virtual IEntityType EntityType { get; }

Property Value

IEntityType

ValueBuffers

The current ValueBuffers

public IEnumerable<ValueBuffer> ValueBuffers { get; }

Property Value

IEnumerable<ValueBuffer>

Methods

Commit(IEnumerable<IKafkaRowBag>)

Stores an IEnumerable<T>

public IEnumerable<Future<RecordMetadata>> Commit(IEnumerable<IKafkaRowBag> records)

Parameters

records IEnumerable<IKafkaRowBag>

The IEnumerable<T> to be stored

Returns

IEnumerable<Future<RecordMetadata>>

Dispose()

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

public void Dispose()