Search Results for

    Show / Hide Table of Contents

    Class ClrTypeMapping<TDocument>

    Inheritance
    object
    ClrTypeMapping
    ClrTypeMapping<TDocument>
    Implements
    IClrTypeMapping<TDocument>
    IClrTypeMapping
    Inherited Members
    ClrTypeMapping.ClrType
    ClrTypeMapping.IdPropertyName
    ClrTypeMapping.IndexName
    ClrTypeMapping.RelationName
    ClrTypeMapping.DisableIdInference
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class ClrTypeMapping<TDocument> : ClrTypeMapping, IClrTypeMapping<TDocument>, IClrTypeMapping where TDocument : class
    Type Parameters
    Name Description
    TDocument

    Constructors

    | Edit this page View Source

    ClrTypeMapping()

    Declaration
    public ClrTypeMapping()

    Properties

    | Edit this page View Source

    IdProperty

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

    Declaration
    public 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
    public 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
    public Expression<Func<TDocument, object>> RoutingProperty { get; set; }
    Property Value
    Type Description
    Expression<Func<TDocument, object>>

    Implements

    IClrTypeMapping<TDocument>
    IClrTypeMapping

    Extension Methods

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