Craig's Utility Library
4.0 Beta
|
Class mapping interface More...
Public Member Functions | |
ID< ClassType, DataType > | ID< DataType > (Expression< Func< ClassType, DataType >> Expression) |
Declares a property as an ID More... | |
ManyToMany< ClassType, DataType > | ManyToMany< DataType > (Expression< Func< ClassType, IEnumerable< DataType >>> Expression) |
Many to many mapping More... | |
ListManyToMany< ClassType, DataType > | ManyToMany< DataType > (Expression< Func< ClassType, List< DataType >>> Expression) |
Many to many mapping More... | |
ManyToOne< ClassType, DataType > | ManyToOne< DataType > (Expression< Func< ClassType, DataType >> Expression) |
Many to one More... | |
IEnumerableManyToOne< ClassType, DataType > | ManyToOne< DataType > (Expression< Func< ClassType, IEnumerable< DataType >>> Expression) |
IEnumerable many to one More... | |
ListManyToOne< ClassType, DataType > | ManyToOne< DataType > (Expression< Func< ClassType, List< DataType >>> Expression) |
IEnumerable many to one More... | |
Map< ClassType, DataType > | Map< DataType > (Expression< Func< ClassType, DataType >> Expression) |
Sets a property as a map type More... | |
Reference< ClassType, DataType > | Reference< DataType > (Expression< Func< ClassType, DataType >> Expression) |
Sets a property as a reference type More... | |
IMapping | SetDeleteCommand (string Command, CommandType CommandType) |
Sets the default delete command More... | |
IMapping | SetInsertCommand (string Command, CommandType CommandType) |
Sets the default insert command More... | |
IMapping | SetSelectAllCommand (string Command, CommandType CommandType) |
Sets the default select all command More... | |
IMapping | SetSelectAnyCommand (string Command, CommandType CommandType) |
Sets the default select any command More... | |
void | Setup (ISourceInfo Source, Utilities.ORM.Manager.Mapper.Manager MappingProvider, Utilities.ORM.Manager.QueryProvider.Manager QueryProvider) |
Sets up the mapping More... | |
IMapping | SetUpdateCommand (string Command, CommandType CommandType) |
Sets the default update command More... | |
Properties | |
Type | DatabaseConfigType [get] |
Database config type More... | |
string | DeleteCommand [get] |
Delete command More... | |
CommandType | DeleteCommandType [get] |
Delete command type More... | |
ICollection< IProperty > | IDProperties [get] |
ID properties More... | |
string | InsertCommand [get] |
Insert command More... | |
CommandType | InsertCommandType [get] |
Insert command type More... | |
Type | ObjectType [get] |
The object type associated with the mapping More... | |
int | Order [get, set] |
Order that the mappings are initialized More... | |
string | Prefix [get] |
Prefix used for defining properties/table name More... | |
ICollection< IProperty > | Properties [get] |
Properties list More... | |
string | SelectAllCommand [get] |
Select all command More... | |
CommandType | SelectAllCommandType [get] |
Select all command type More... | |
string | SelectAnyCommand [get] |
Select any command More... | |
CommandType | SelectAnyCommandType [get] |
Select any command type More... | |
string | Suffix [get] |
Suffix used for defining properties/table name More... | |
string | TableName [get] |
Table name More... | |
string | UpdateCommand [get] |
Update command More... | |
CommandType | UpdateCommandType [get] |
Update command type More... | |
Class mapping interface
Mapping interface
ClassType | Class type |
ClassType | : | class |
Definition at line 36 of file IMapping.cs.
ID<ClassType, DataType> Utilities.ORM.Manager.Mapper.Interfaces.IMapping< ClassType >.ID< DataType > | ( | Expression< Func< ClassType, DataType >> | Expression | ) |
Declares a property as an ID
DataType | Data type |
Expression | Expression pointing to the property |
ManyToMany<ClassType, DataType> Utilities.ORM.Manager.Mapper.Interfaces.IMapping< ClassType >.ManyToMany< DataType > | ( | Expression< Func< ClassType, IEnumerable< DataType >>> | Expression | ) |
Many to many mapping
DataType | Data type |
Expression | Expression pointing to the many to many property |
DataType | : | class |
ListManyToMany<ClassType, DataType> Utilities.ORM.Manager.Mapper.Interfaces.IMapping< ClassType >.ManyToMany< DataType > | ( | Expression< Func< ClassType, List< DataType >>> | Expression | ) |
Many to many mapping
DataType | Data type |
Expression | Expression pointing to the many to many property |
DataType | : | class |
ManyToOne<ClassType, DataType> Utilities.ORM.Manager.Mapper.Interfaces.IMapping< ClassType >.ManyToOne< DataType > | ( | Expression< Func< ClassType, DataType >> | Expression | ) |
Many to one
DataType | Data type |
Expression | Expression pointing to the property |
DataType | : | class |
IEnumerableManyToOne<ClassType, DataType> Utilities.ORM.Manager.Mapper.Interfaces.IMapping< ClassType >.ManyToOne< DataType > | ( | Expression< Func< ClassType, IEnumerable< DataType >>> | Expression | ) |
IEnumerable many to one
DataType | Data type |
Expression | Expression pointint to the property |
DataType | : | class |
ListManyToOne<ClassType, DataType> Utilities.ORM.Manager.Mapper.Interfaces.IMapping< ClassType >.ManyToOne< DataType > | ( | Expression< Func< ClassType, List< DataType >>> | Expression | ) |
IEnumerable many to one
DataType | Data type |
Expression | Expression pointint to the property |
DataType | : | class |
Map<ClassType, DataType> Utilities.ORM.Manager.Mapper.Interfaces.IMapping< ClassType >.Map< DataType > | ( | Expression< Func< ClassType, DataType >> | Expression | ) |
Sets a property as a map type
DataType | Data type |
Expression | Expression pointing to the property |
DataType | : | class |
Reference<ClassType, DataType> Utilities.ORM.Manager.Mapper.Interfaces.IMapping< ClassType >.Reference< DataType > | ( | Expression< Func< ClassType, DataType >> | Expression | ) |
Sets a property as a reference type
DataType | Data type |
Expression | Expression pointing to the property |
IMapping Utilities.ORM.Manager.Mapper.Interfaces.IMapping< ClassType >.SetDeleteCommand | ( | string | Command, |
CommandType | CommandType | ||
) |
Sets the default delete command
Command | Command |
CommandType | Command type |
IMapping Utilities.ORM.Manager.Mapper.Interfaces.IMapping< ClassType >.SetInsertCommand | ( | string | Command, |
CommandType | CommandType | ||
) |
Sets the default insert command
Command | Command |
CommandType | Command type |
IMapping Utilities.ORM.Manager.Mapper.Interfaces.IMapping< ClassType >.SetSelectAllCommand | ( | string | Command, |
CommandType | CommandType | ||
) |
Sets the default select all command
Command | Command |
CommandType | Command type |
IMapping Utilities.ORM.Manager.Mapper.Interfaces.IMapping< ClassType >.SetSelectAnyCommand | ( | string | Command, |
CommandType | CommandType | ||
) |
Sets the default select any command
Command | Command |
CommandType | Command type |
void Utilities.ORM.Manager.Mapper.Interfaces.IMapping< ClassType >.Setup | ( | ISourceInfo | Source, |
Utilities.ORM.Manager.Mapper.Manager | MappingProvider, | ||
Utilities.ORM.Manager.QueryProvider.Manager | QueryProvider | ||
) |
Sets up the mapping
Source | Source info |
QueryProvider | Query provider |
MappingProvider | Mapping provider |
IMapping Utilities.ORM.Manager.Mapper.Interfaces.IMapping< ClassType >.SetUpdateCommand | ( | string | Command, |
CommandType | CommandType | ||
) |
Sets the default update command
Command | Command |
CommandType | Command type |
|
get |
Database config type
Definition at line 118 of file IMapping.cs.
|
get |
Delete command
Definition at line 123 of file IMapping.cs.
|
get |
Delete command type
Definition at line 128 of file IMapping.cs.
|
get |
ID properties
Definition at line 133 of file IMapping.cs.
|
get |
Insert command
Definition at line 138 of file IMapping.cs.
|
get |
Insert command type
Definition at line 143 of file IMapping.cs.
|
get |
The object type associated with the mapping
Definition at line 148 of file IMapping.cs.
|
getset |
Order that the mappings are initialized
Definition at line 153 of file IMapping.cs.
|
get |
Prefix used for defining properties/table name
Definition at line 158 of file IMapping.cs.
|
get |
Properties list
Definition at line 163 of file IMapping.cs.
|
get |
Select all command
Definition at line 168 of file IMapping.cs.
|
get |
Select all command type
Definition at line 173 of file IMapping.cs.
|
get |
Select any command
Definition at line 178 of file IMapping.cs.
|
get |
Select any command type
Definition at line 183 of file IMapping.cs.
|
get |
Suffix used for defining properties/table name
Definition at line 188 of file IMapping.cs.
|
get |
Table name
Definition at line 193 of file IMapping.cs.
|
get |
Update command
Definition at line 198 of file IMapping.cs.
|
get |
Update command type
Definition at line 203 of file IMapping.cs.