Search Results for

    Show / Hide Table of Contents

    Class ClrTypeMapping

    Inheritance
    object
    ClrTypeMapping
    ClrTypeMapping<TDocument>
    Implements
    IClrTypeMapping
    Inherited Members
    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 : IClrTypeMapping

    Constructors

    | Edit this page View Source

    ClrTypeMapping(Type)

    Initializes a new instance of ClrTypeMapping

    Declaration
    public ClrTypeMapping(Type type)
    Parameters
    Type Name Description
    Type type

    Properties

    | Edit this page View Source

    ClrType

    The CLR type the mapping relates to

    Declaration
    public Type ClrType { get; }
    Property Value
    Type Description
    Type
    | Edit this page View Source

    DisableIdInference

    Disables Id inference for the given ClrType. By default, the _id value for a document is inferred from a property named Id, or from the property named by IdPropertyName, if set.

    Declaration
    public bool DisableIdInference { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IdPropertyName

    The property for the given ClrType to resolve ids from.

    Declaration
    public string IdPropertyName { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    IndexName

    The default OpenSearch index name for the given ClrType

    Declaration
    public string IndexName { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    RelationName

    The relation name for the given ClrType to resolve to.

    Declaration
    public string RelationName { get; set; }
    Property Value
    Type Description
    string

    Implements

    IClrTypeMapping

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • ClrTypeMapping(Type)
    • Properties
      • ClrType
      • DisableIdInference
      • IdPropertyName
      • IndexName
      • RelationName
    • Implements
    • Extension Methods
    Back to top Generated by DocFX