Convention ConfigurationIs Id Member 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.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public Func<MemberInfo, bool> IsIdMember { get; set; }VB
Public Property IsIdMember As Func(Of MemberInfo, Boolean)
Get
SetProperty Value
FuncMemberInfo, BooleanExample
The default is this:
C#
IsIdMember = info => info.Name == "Id";