Click or drag to resize

ConventionConfigurationDocumentNeedsIdAssigned Property

Gets or sets a method that determines whether the given document needs to have an id assigned before saving. If not, DocumentIdGenerator will be called to generate an id which will then be assigned to the document. The default method will return false, if the id member (determined by IsIdMember) has a value greater 0, otherwise true.

Namespace:  SphinxConnector.FluentApi
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
public Func<Object, bool> DocumentNeedsIdAssigned { get; set; }

Property Value

Type: FuncObject, Boolean
See Also