Section navigation

Public classSealed LeanGeoPointAttribute

Namespace
Rowles.LeanCorpus.Mapping.Attributes
Assembly
Rowles.LeanCorpus.dll

Maps a LeanGeoLocation property to a GeoPointField.

[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
public sealed class LeanGeoPointAttribute : Attribute
Inheritance
LeanGeoPointAttribute

Public constructor LeanGeoPointAttribute(string)

Initialises a new LeanGeoPointAttribute.

Public property Name

The field name used at indexing time.

Public property Required

Whether the field is required by the generated schema.