Click or drag to resize

ConventionConfigurationIsIdMember Property

Gets or sets a method that determines if the given property or field of a type represents the document id. The default looks for a member named Id.

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.0.0
Syntax
public Func<MemberInfo, bool> IsIdMember { get; set; }

Property Value

FuncMemberInfo, Boolean
Example
The default is this: IsIdMember = info => info.Name == "Id";
See Also