Craig's Utility Library  4.0 Beta
Utilities.ORM.Manager.Mapper.Default.Reference< ClassType, DataType > Class Template Reference

Reference class More...

Inheritance diagram for Utilities.ORM.Manager.Mapper.Default.Reference< ClassType, DataType >:
Utilities.ORM.Manager.Mapper.Interfaces.IReference

Public Member Functions

 Reference (Expression< Func< ClassType, DataType >> Expression, IMapping Mapping)
 Constructor More...
 
override IBatch CascadeDelete (ClassType Object, ISourceInfo Source, IList< object > ObjectsSeen)
 Does a cascade delete of an object for this property More...
 
override IBatch CascadeJoinsDelete (ClassType Object, ISourceInfo Source, IList< object > ObjectsSeen)
 Called to create a batch that deletes items from the joining tables More...
 
override IBatch CascadeJoinsSave (ClassType Object, ISourceInfo Source, IList< object > ObjectsSeen)
 Called to create a batch that saves items from the joining tables More...
 
override IBatch CascadeSave (ClassType Object, ISourceInfo Source, IList< object > ObjectsSeen)
 Does a cascade save of an object for this property More...
 
override object GetParameter (object Object)
 Gets the property as a parameter (for classes, this will return the ID of the property) More...
 
override object GetParameter (Dynamo Object)
 Gets the property as a parameter (for classes, this will return the ID of the property) More...
 
override IBatch JoinsDelete (ClassType Object, ISourceInfo Source, IList< object > ObjectsSeen)
 Called to create a batch that deletes items from the joining table More...
 
override IBatch JoinsSave (ClassType Object, ISourceInfo Source, IList< object > ObjectsSeen)
 Called to create a batch that saves items from the joining table More...
 
override void Setup (ISourceInfo Source, Mapper.Manager MappingProvider, QueryProvider.Manager QueryProvider)
 Sets up the property More...
 

Properties

override string TypeName [get]
 Gets the name of the type. More...
 

Detailed Description

Reference class

Template Parameters
ClassTypeClass type
DataTypeData type
Type Constraints
ClassType :class 

Definition at line 39 of file Reference.cs.

Constructor & Destructor Documentation

Utilities.ORM.Manager.Mapper.Default.Reference< ClassType, DataType >.Reference ( Expression< Func< ClassType, DataType >>  Expression,
IMapping  Mapping 
)

Constructor

Parameters
ExpressionExpression pointing to the property
MappingMapping the StringID is added to

Definition at line 47 of file Reference.cs.

Member Function Documentation

override IBatch Utilities.ORM.Manager.Mapper.Default.Reference< ClassType, DataType >.CascadeDelete ( ClassType  Object,
ISourceInfo  Source,
IList< object >  ObjectsSeen 
)

Does a cascade delete of an object for this property

Parameters
ObjectObject
SourceSource info
ObjectsSeenObjects seen thus far
Returns
Batch object with the appropriate commands

Definition at line 72 of file Reference.cs.

override IBatch Utilities.ORM.Manager.Mapper.Default.Reference< ClassType, DataType >.CascadeJoinsDelete ( ClassType  Object,
ISourceInfo  Source,
IList< object >  ObjectsSeen 
)

Called to create a batch that deletes items from the joining tables

Parameters
ObjectObject
SourceSource info
ObjectsSeenObjects seen thus far
Returns
Batch object with the appropriate commands

Definition at line 85 of file Reference.cs.

override IBatch Utilities.ORM.Manager.Mapper.Default.Reference< ClassType, DataType >.CascadeJoinsSave ( ClassType  Object,
ISourceInfo  Source,
IList< object >  ObjectsSeen 
)

Called to create a batch that saves items from the joining tables

Parameters
ObjectObject
SourceSource info
ObjectsSeenObjects seen thus far
Returns
Batch object with the appropriate commands

Definition at line 98 of file Reference.cs.

override IBatch Utilities.ORM.Manager.Mapper.Default.Reference< ClassType, DataType >.CascadeSave ( ClassType  Object,
ISourceInfo  Source,
IList< object >  ObjectsSeen 
)

Does a cascade save of an object for this property

Parameters
ObjectObject
ObjectsSeenObjects seen thus far
SourceSource info
Returns
Batch object with the appropriate commands

Definition at line 111 of file Reference.cs.

override object Utilities.ORM.Manager.Mapper.Default.Reference< ClassType, DataType >.GetParameter ( object  Object)

Gets the property as a parameter (for classes, this will return the ID of the property)

Parameters
ObjectObject to get the parameter from
Returns
The parameter version of the property

Definition at line 122 of file Reference.cs.

override object Utilities.ORM.Manager.Mapper.Default.Reference< ClassType, DataType >.GetParameter ( Dynamo  Object)

Gets the property as a parameter (for classes, this will return the ID of the property)

Parameters
ObjectObject to get the parameter from
Returns
The parameter version of the property

Definition at line 132 of file Reference.cs.

override IBatch Utilities.ORM.Manager.Mapper.Default.Reference< ClassType, DataType >.JoinsDelete ( ClassType  Object,
ISourceInfo  Source,
IList< object >  ObjectsSeen 
)

Called to create a batch that deletes items from the joining table

Parameters
ObjectObject
SourceSource info
ObjectsSeenObjects seen thus far
Returns
Batch object with the appropriate commands

Definition at line 144 of file Reference.cs.

override IBatch Utilities.ORM.Manager.Mapper.Default.Reference< ClassType, DataType >.JoinsSave ( ClassType  Object,
ISourceInfo  Source,
IList< object >  ObjectsSeen 
)

Called to create a batch that saves items from the joining table

Parameters
ObjectObject
SourceSource info
ObjectsSeenObjects seen thus far
Returns
Batch object with the appropriate commands

Definition at line 157 of file Reference.cs.

override void Utilities.ORM.Manager.Mapper.Default.Reference< ClassType, DataType >.Setup ( ISourceInfo  Source,
Mapper.Manager  MappingProvider,
QueryProvider.Manager  QueryProvider 
)

Sets up the property

Parameters
MappingProviderMapping provider
QueryProviderQuery provider
SourceSource info

Definition at line 169 of file Reference.cs.

Property Documentation

override string Utilities.ORM.Manager.Mapper.Default.Reference< ClassType, DataType >.TypeName
get

Gets the name of the type.

The name of the type.

Definition at line 61 of file Reference.cs.


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