[]
        
(Showing Draft Content)

C1.EntityFrameworkCore.CSV.CSVOptionsExtension

CSVOptionsExtension Class

Represents options managed by the relational database providers. These options are set using Microsoft.EntityFrameworkCore.DbContextOptionsBuilder. Instances of this class are designed to be immutable. To change an option, call one of the 'With...' methods to obtain a new instance with the option changed.

Inheritance
CSVOptionsExtension
Namespace: C1.EntityFrameworkCore.CSV
Assembly: C1.EntityFrameworkCore.CSV.dll
Syntax
public class CSVOptionsExtension : RelationalOptionsExtension
Public Class CSVOptionsExtension
    Inherits RelationalOptionsExtension

Constructors

Name Description
CSVOptionsExtension()

Create CSVOptionsExtension instance.

CSVOptionsExtension(CSVOptionsExtension)

Called by a derived class constructor when implementing the Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension.Clone mehtod.

Properties

Name Description
Info

Information/metadata about the extension.

MinBatchSize

Set the minimum of the batch is 1.

Methods

Name Description
ApplyServices(IServiceCollection)

Adds the services required to make the selected options work. This is used when there is no external IServiceProvider and EF is maintaining its own service provider internally. This allows database providers (and other extensions) to register their required services when EF is creating an service provider.

Clone()

Clone CSVOptionsExtension instance.