SolrNet: SolrNet.Mapping.AttributesMappingManager Class Reference

SolrNet

SolrNet.Mapping.AttributesMappingManager Class Reference

Gets mapping info from attributes like SolrFieldAttribute and SolrUniqueKeyAttribute More...

Inheritance diagram for SolrNet.Mapping.AttributesMappingManager:

List of all members.

Public Member Functions

virtual IEnumerable
< KeyValuePair< PropertyInfo,
T[]> > 
GetPropertiesWithAttribute< T > (Type type)
IDictionary< string,
SolrFieldModel
GetFields (Type type)
 Gets fields mapped for this type.
virtual T[] GetCustomAttributes< T > (PropertyInfo prop)
SolrFieldModel GetUniqueKey (Type type)
 Gets unique key for the type.
ICollection< Type > GetRegisteredTypes ()
 Gets all registered document types in this mapping manager.

Detailed Description

Gets mapping info from attributes like SolrFieldAttribute and SolrUniqueKeyAttribute


Member Function Documentation

IDictionary<string,SolrFieldModel> SolrNet.Mapping.AttributesMappingManager.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.AttributesMappingManager.GetRegisteredTypes (  )

Gets all registered document types in this mapping manager.

Returns:

Implements SolrNet.IReadOnlyMappingManager.

SolrFieldModel SolrNet.Mapping.AttributesMappingManager.GetUniqueKey ( Type  type )

Gets unique key for the type.

Parameters:
type
Returns:
Null if type has no unique key defined

Implements SolrNet.IReadOnlyMappingManager.


The documentation for this class was generated from the following file:
  • SolrNet/Mapping/AttributesMappingManager.cs
Generated on Sun May 3 2015 17:19:11 for SolrNet by  doxygen 1.7.2