
LeanStoredAttribute
- Namespace
- Rowles.LeanCorpus.Mapping.Attributes
- Assembly
- Rowles.LeanCorpus.dll
Maps a stored-only property to either a StoredField (for string) or a BinaryField (for byte[]). The field is not indexed.
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
public sealed class LeanStoredAttribute : Attribute
- Inheritance
-
LeanStoredAttribute
LeanStoredAttribute(string)
Initialises a new LeanStoredAttribute.
Name
The field name used at indexing time.
Required
Whether the field is required by the generated schema.