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.

Definition

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

Property Value

FuncObject, Boolean

See Also