diff --git a/docs/build/nest/index-type-inference.html b/docs/build/nest/index-type-inference.html index 6d2df2db3ba..61d16a5b7cd 100644 --- a/docs/build/nest/index-type-inference.html +++ b/docs/build/nest/index-type-inference.html @@ -69,7 +69,7 @@
This can be configured by setting
settings.SetDefaultPropertyNameInferrer(p=>p);
This will leave property names untouched.
-Properties marked with [ElasticAttibute(Name="")] or [JsonProperty(Name="")] will pass the configured name verbatim.
Properties marked with [ElasticProperty(Name="")] or [JsonProperty(PropertyName="")] will pass the configured name verbatim.
Whenever an object is passed that needs to specify an id (i.e index, bulk operations) the object is inspected to see if it has an Id property and if so, that value will be used.
This inspection happens once per type. The result of the function call that returns the id for an object of type T is cached; therfore, it is only called once per object of type T throughout the applications lifetime.
diff --git a/docs/contents/nest/index-type-inference.markdown b/docs/contents/nest/index-type-inference.markdown index af59c25dc4e..2fad81f98f3 100644 --- a/docs/contents/nest/index-type-inference.markdown +++ b/docs/contents/nest/index-type-inference.markdown @@ -106,7 +106,7 @@ This can be configured by setting This will leave property names untouched. -Properties marked with `[ElasticAttibute(Name="")]` or `[JsonProperty(Name="")]` will pass the configured name verbatim. +Properties marked with `[ElasticProperty(Name="")]` or `[JsonProperty(PropertyName="")]` will pass the configured name verbatim. ## Id Inference