ForgeDocs
Documentation for the forge framework
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Forge.Entities.BaseDataReferenceType Class Reference

Base type for data references for common code. More...

Inheritance diagram for Forge.Entities.BaseDataReferenceType:
Forge.Entities.IDataReference Forge.Entities.DataReference< TData0 > Forge.Entities.DataReference< TData0, TData1 > Forge.Entities.DataReference< TData0, TData1, TData2 > Forge.Entities.DataReference< TData0, TData1, TData2, TData3 > Forge.Entities.DataReference< TData0, TData1, TData2, TData3, TData4 > Forge.Entities.DataReference< TData0, TData1, TData2, TData3, TData4, TData5 > Forge.Entities.DataReference< TData0, TData1, TData2, TData3, TData4, TData5, TData6 > Forge.Entities.DataReference< TData0, TData1, TData2, TData3, TData4, TData5, TData6, TData7 > Forge.Entities.DataReference< TData0, TData1, TData2, TData3, TData4, TData5, TData6, TData7, TData8 > Forge.Entities.DataReference< TData0, TData1, TData2, TData3, TData4, TData5, TData6, TData7, TData8, TData9 >

Public Member Functions

TData Current< TData > ()
 Returns the current data value for the given data type. More...
 
TData Previous< TData > ()
 Returns the previous data value for the given data type. More...
 

Additional Inherited Members

- Properties inherited from Forge.Entities.IDataReference
IQueryableEntity Provider [get, set]
 The entity that this reference uses to resolve its current/previous data references. More...
 

Detailed Description

Base type for data references for common code.

Member Function Documentation

TData Forge.Entities.BaseDataReferenceType.Current< TData > ( )

Returns the current data value for the given data type.

Template Parameters
TDataThe type of data to retrieve. It has to be one of the generic parameters for this type; if it is not, then an exception is thrown.
Returns
The current value for the given data type.
Type Constraints
TData :Data.IData 
TData Forge.Entities.BaseDataReferenceType.Previous< TData > ( )

Returns the previous data value for the given data type.

Template Parameters
TDataThe type of data to retrieve. It has to be one of the generic parameters for this type; if it is not, then an exception is thrown.
Returns
The current value for the given data type.
Type Constraints
TData :Data.IVersioned 

The documentation for this class was generated from the following file: