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

Many to one class More...

Inheritance diagram for Utilities.ORM.Manager.Mapper.Default.IEnumerableManyToOne< ClassType, DataType >:
Utilities.ORM.Manager.Mapper.Interfaces.IIEnumerableManyToOne Utilities.ORM.Manager.Mapper.Interfaces.IMultiMapping

Public Member Functions

 IEnumerableManyToOne (Expression< Func< ClassType, IEnumerable< 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

Many to one class

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

Definition at line 41 of file IEnumerableManyToOne.cs.

Constructor & Destructor Documentation

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

Constructor

Parameters
ExpressionExpression pointing to the many to one
MappingMapping the StringID is added to

Definition at line 50 of file IEnumerableManyToOne.cs.

Member Function Documentation

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

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

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

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

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

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

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

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

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

Property Documentation

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

Gets the name of the type.

The name of the type.

Definition at line 69 of file IEnumerableManyToOne.cs.


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