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

ID class More...

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

Public Member Functions

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

ID class

Template Parameters
ClassTypeClass type
DataTypeData type
Type Constraints
ClassType :class 

Definition at line 39 of file ID.cs.

Constructor & Destructor Documentation

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

Constructor

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

Definition at line 47 of file ID.cs.

Member Function Documentation

override IBatch Utilities.ORM.Manager.Mapper.Default.ID< 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 that have been seen thus far
Returns
Batch object with the appropriate commands

Definition at line 72 of file ID.cs.

override IBatch Utilities.ORM.Manager.Mapper.Default.ID< 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 that have been seen thus far
Returns
Batch object with the appropriate commands

Definition at line 85 of file ID.cs.

override IBatch Utilities.ORM.Manager.Mapper.Default.ID< 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 that have been seen thus far
Returns
Batch object with the appropriate commands

Definition at line 98 of file ID.cs.

override IBatch Utilities.ORM.Manager.Mapper.Default.ID< 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 that have been seen thus far
Returns
Batch object with the appropriate commands

Definition at line 111 of file ID.cs.

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

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

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

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

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

Property Documentation

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

Gets the name of the type.

The name of the type.

Definition at line 61 of file ID.cs.


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