Table of Contents

Class NameConverterBase

Namespace
LinqToDB.Naming
Assembly
linq2db.Tools.dll

Base class for name converters.

public abstract class NameConverterBase : INameConversionProvider
Inheritance
NameConverterBase
Implements
Derived
Extension Methods

Methods

GetConverter(Pluralization)

Returns name converter for specific conversion type.

public abstract Func<string, string> GetConverter(Pluralization conversion)

Parameters

conversion Pluralization

Conversion type.

Returns

Func<string, string>

Name converter.

NormalizeName(string)

Identify word in name to convert. Any text before and after word returned and prefix/suffix strings.

protected static NameConverterBase.NameParts NormalizeName(string name)

Parameters

name string

Name to convert.

Returns

NameConverterBase.NameParts

Word to covert with optional suffix and prefix to add after convertsion.