Table of Contents

Class FluentSettings

Namespace
WeihanLi.Npoi
Assembly
WeihanLi.Npoi.dll
public static class FluentSettings
Inheritance
FluentSettings
Inherited Members

Methods

For<TEntity>()

Fluent Setting For TEntity

public static IExcelConfiguration<TEntity> For<TEntity>()

Returns

IExcelConfiguration<TEntity>

excel configuration for entity

Type Parameters

TEntity

TEntity

LoadMappingProfile<TMappingProfile>()

Load mapping profile for TEntity

public static void LoadMappingProfile<TMappingProfile>() where TMappingProfile : IMappingProfile, new()

Type Parameters

TMappingProfile

entity type mapping profile

LoadMappingProfile<TEntity, TMappingProfile>()

Load mapping profile for TEntity

public static void LoadMappingProfile<TEntity, TMappingProfile>() where TMappingProfile : IMappingProfile<TEntity>, new()

Type Parameters

TEntity

entity type

TMappingProfile

entity type mapping profile

LoadMappingProfile<TEntity, TMappingProfile>(TMappingProfile)

Load mapping profile for TEntity

public static void LoadMappingProfile<TEntity, TMappingProfile>(TMappingProfile profile) where TMappingProfile : IMappingProfile<TEntity>

Parameters

profile TMappingProfile

profile

Type Parameters

TEntity

entity type

TMappingProfile

mapping profile type

LoadMappingProfiles(params Assembly[])

Load mapping profiles

public static void LoadMappingProfiles(params Assembly[] assemblies)

Parameters

assemblies Assembly[]

assemblies

LoadMappingProfiles(params Type[])

Load mapping profiles

public static void LoadMappingProfiles(params Type[] types)

Parameters

types Type[]

mapping profile types