Search Results for

    Show / Hide Table of Contents

    Interface IClrTypeMapping<TDocument>

    Inherited Members
    IClrTypeMapping.ClrType
    IClrTypeMapping.IdPropertyName
    IClrTypeMapping.IndexName
    IClrTypeMapping.RelationName
    IClrTypeMapping.DisableIdInference
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface IClrTypeMapping<TDocument> : IClrTypeMapping where TDocument : class
    Type Parameters
    Name Description
    TDocument

    Properties

    | Edit this page View Source

    IdProperty

    Set a default Id property on CLR type TDocument that OpenSearch.Client will evaluate

    Declaration
    Expression<Func<TDocument, object>> IdProperty { get; set; }
    Property Value
    Type Description
    Expression<Func<TDocument, object>>
    | Edit this page View Source

    Properties

    Ignore or rename certain properties of CLR type TDocument

    Declaration
    IList<IClrPropertyMapping<TDocument>> Properties { get; set; }
    Property Value
    Type Description
    IList<IClrPropertyMapping<TDocument>>
    | Edit this page View Source

    RoutingProperty

    Provide a default routing parameter lookup based on TDocument

    Declaration
    Expression<Func<TDocument, object>> RoutingProperty { get; set; }
    Property Value
    Type Description
    Expression<Func<TDocument, object>>

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • IdProperty
      • Properties
      • RoutingProperty
    • Extension Methods
    Back to top Generated by DocFX