Interface IClrTypeMapping<TDocument>
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
|
Edit this page
View Source
Properties
Ignore or rename certain properties of CLR type TDocument
Declaration
IList<IClrPropertyMapping<TDocument>> Properties { get; set; }
Property Value
|
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
Extension Methods