Objects

Creates documents from a set of objects. Any input documents will be ignored. The objects can be anything, and the collection can be heterogenous. Dictionary<string, object> will be handled natively and each key-value pair will be added to the output document metdata. Anything else will be reflected and turned into a Dictionary<string, object> with metadata for each property.

Usage

  • Objects(IEnumerable<> objects)

    Creates documents from the specified objects.

    • objects

      The objects to create documents for.

GitHub