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

Map class More...

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

Public Member Functions

 Map (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

Map class

Template Parameters
ClassTypeClass type
DataTypeData type
Type Constraints
ClassType :class 
DataType :class 

Definition at line 42 of file Map.cs.

Constructor & Destructor Documentation

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

Constructor

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

Definition at line 51 of file Map.cs.

Member Function Documentation

override IBatch Utilities.ORM.Manager.Mapper.Default.Map< 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 78 of file Map.cs.

override IBatch Utilities.ORM.Manager.Mapper.Default.Map< 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 108 of file Map.cs.

override IBatch Utilities.ORM.Manager.Mapper.Default.Map< 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 145 of file Map.cs.

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

Does a cascade save of an object for this property

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

Definition at line 182 of file Map.cs.

override object Utilities.ORM.Manager.Mapper.Default.Map< 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 210 of file Map.cs.

override object Utilities.ORM.Manager.Mapper.Default.Map< 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 221 of file Map.cs.

override IBatch Utilities.ORM.Manager.Mapper.Default.Map< 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 233 of file Map.cs.

override IBatch Utilities.ORM.Manager.Mapper.Default.Map< 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 246 of file Map.cs.

override void Utilities.ORM.Manager.Mapper.Default.Map< 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 258 of file Map.cs.

Property Documentation

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

Gets the name of the type.

The name of the type.

Definition at line 67 of file Map.cs.


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