 | 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.FluentApiAssembly: SphinxConnector (in SphinxConnector.dll) Version: 3.12.6
Syntaxpublic Func<MemberInfo, bool> IsIdMember { get; set; }
Public Property IsIdMember As Func(Of MemberInfo, Boolean)
Get
Set
Property Value
Type:
FuncMemberInfo,
Boolean
Examples
The default is this:
IsIdMember = info => info.Name == "Id";
See Also