C# Class Nxdb.Persistence.Attributes.PersistentPathAttribute

Inheritance: PersistentMemberAttribute
Exibir arquivo Open project: daveaglick/Nxdb

Public Methods

Method Description
PersistentPathAttribute ( string query, string createQuery ) : System

Initializes a new instance of the PersistentPathAttribute class.

Private Methods

Method Description
FetchValue ( Element element, object target, TypeCache typeCache, Cache cache ) : object
Inititalize ( Type memberType, string memberName, Cache cache ) : void
SerializeValue ( object source, TypeCache typeCache, Cache cache ) : object
StoreValue ( Element element, object serialized, object source, TypeCache typeCache, Cache cache ) : void

Method Details

PersistentPathAttribute() public method

Initializes a new instance of the PersistentPathAttribute class.
public PersistentPathAttribute ( string query, string createQuery ) : System
query string The query to use for fetching the value. If the specified /// query returns a sequence, only the first item is used. If the specified query returns /// a node, it's value is used. If the specified query returns an atomic value, it's /// ToString() result is used as the value.
createQuery string The query to use when the field or property is being /// stored and the value query does not result in a node. If the value query does not result /// in a node and this is not specified, a value will not be stored for the /// field or property.
return System