ConventionConfigurationGetAttributeName Property

Gets or sets a method that returns the attribute name for the given property or field. The default uses the member name and converts it to all lower case letters.

Definition

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public Func<MemberInfo, string> GetAttributeName { get; set; }

Property Value

FuncMemberInfo, String

Example

The default is this:
C#
GetAttributeName = info => info.Name.ToLowerInvariant();

See Also