Class ClrTypeMapping
Implements
Inherited Members
Namespace: OpenSearch .Client
Assembly: OpenSearch.Client.dll
Syntax
public class ClrTypeMapping : IClrTypeMapping
Constructors
| Edit this page View SourceClrTypeMapping(Type)
Initializes a new instance of Clr
Declaration
public ClrTypeMapping(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type |
Properties
| Edit this page View SourceClrType
The CLR type the mapping relates to
Declaration
public Type ClrType { get; }
Property Value
Type | Description |
---|---|
Type |
DisableIdInference
Disables Id inference for the given Clr
Declaration
public bool DisableIdInference { get; set; }
Property Value
Type | Description |
---|---|
bool |
IdPropertyName
The property for the given Clr
Declaration
public string IdPropertyName { get; set; }
Property Value
Type | Description |
---|---|
string |
IndexName
The default OpenSearch index name for the given Clr
Declaration
public string IndexName { get; set; }
Property Value
Type | Description |
---|---|
string |
RelationName
The relation name for the given Clr
Declaration
public string RelationName { get; set; }
Property Value
Type | Description |
---|---|
string |