SolrNet: SolrNet.Mapping.AllPropertiesMappingManager Class Reference
From SolrNet
SolrNet.Mapping.AllPropertiesMappingManager Class Reference
Maps all properties in the class, with the same field name as the property. Note that unique keys must be added manually. More...
Inheritance diagram for SolrNet.Mapping.AllPropertiesMappingManager:
Public Member Functions | |
| IDictionary< string, SolrFieldModel > | GetFields (Type type) |
| Gets fields mapped for this type. | |
| SolrFieldModel | GetUniqueKey (Type type) |
| Gets unique key for the type. | |
| ICollection< Type > | GetRegisteredTypes () |
| Gets all registered document types in this mapping manager. | |
| void | SetUniqueKey (PropertyInfo property) |
| Sets the property that acts as unique key for a document type. | |
Detailed Description
Maps all properties in the class, with the same field name as the property. Note that unique keys must be added manually.
Member Function Documentation
| IDictionary<string,SolrFieldModel> SolrNet.Mapping.AllPropertiesMappingManager.GetFields | ( | Type | type ) |
Gets fields mapped for this type.
- Parameters:
-
type
- Returns:
- Empty collection if type is not mapped
Implements SolrNet.IReadOnlyMappingManager.
| ICollection<Type> SolrNet.Mapping.AllPropertiesMappingManager.GetRegisteredTypes | ( | ) |
Gets all registered document types in this mapping manager.
- Returns:
Implements SolrNet.IReadOnlyMappingManager.
| SolrFieldModel SolrNet.Mapping.AllPropertiesMappingManager.GetUniqueKey | ( | Type | type ) |
Gets unique key for the type.
- Parameters:
-
type
- Returns:
- Null if type has no unique key defined
Implements SolrNet.IReadOnlyMappingManager.
| void SolrNet.Mapping.AllPropertiesMappingManager.SetUniqueKey | ( | PropertyInfo | property ) |
Sets the property that acts as unique key for a document type.
- Parameters:
-
property Unique key property
The documentation for this class was generated from the following file:
- SolrNet/Mapping/AllPropertiesMappingManager.cs
Generated on Sun May 3 2015 17:19:11 for SolrNet by