Class ClrTypeMapping<TDocument>
Inheritance
ClrTypeMapping<TDocument>
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
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
|
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
|
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
Implements
Extension Methods