|
| DeveelDbMapping (MappingModel model) |
|
override string | GetColumnName (MappingEntity entity, MemberInfo member) |
|
override MappingEntity | GetEntity (Type elementType, string tableId) |
|
override bool | IsPrimaryKey (MappingEntity entity, MemberInfo member) |
|
override string | GetTableName (MappingEntity entity) |
|
override string | GetTableId (Type type) |
|
override bool | IsGenerated (MappingEntity entity, MemberInfo member) |
|
override bool | IsColumn (MappingEntity entity, MemberInfo member) |
|
override bool | IsAssociationRelationship (MappingEntity entity, MemberInfo member) |
|
override IEnumerable< MemberInfo > | GetAssociationKeyMembers (MappingEntity entity, MemberInfo member) |
|
override IEnumerable< MemberInfo > | GetAssociationRelatedKeyMembers (MappingEntity entity, MemberInfo member) |
|
override bool | IsRelationshipSource (MappingEntity entity, MemberInfo member) |
|
override bool | IsRelationshipTarget (MappingEntity entity, MemberInfo member) |
|
override string | GetColumnDbType (MappingEntity entity, MemberInfo member) |
|
Definition at line 13 of file DeveelDbMapping.cs.
Deveel.Data.Linq.DeveelDbMapping.DeveelDbMapping |
( |
MappingModel |
model | ) |
|
|
inline |
override IEnumerable<MemberInfo> Deveel.Data.Linq.DeveelDbMapping.GetAssociationKeyMembers |
( |
MappingEntity |
entity, |
|
|
MemberInfo |
member |
|
) |
| |
|
inline |
Definition at line 67 of file DeveelDbMapping.cs.
68 return base.GetAssociationKeyMembers(entity, member);
override IEnumerable<MemberInfo> Deveel.Data.Linq.DeveelDbMapping.GetAssociationRelatedKeyMembers |
( |
MappingEntity |
entity, |
|
|
MemberInfo |
member |
|
) |
| |
|
inline |
Definition at line 71 of file DeveelDbMapping.cs.
72 return base.GetAssociationRelatedKeyMembers(entity, member);
override string Deveel.Data.Linq.DeveelDbMapping.GetColumnDbType |
( |
MappingEntity |
entity, |
|
|
MemberInfo |
member |
|
) |
| |
|
inline |
Definition at line 85 of file DeveelDbMapping.cs.
86 var dbMapping = (DbMappingEntity)entity;
87 var mapppedMember = dbMapping.TypeMapping.GetMember(member.Name);
88 if (mapppedMember == null)
92 return mapppedMember.ColumnType.TypeCode.ToString();
override string Deveel.Data.Linq.DeveelDbMapping.GetColumnName |
( |
MappingEntity |
entity, |
|
|
MemberInfo |
member |
|
) |
| |
|
inline |
Definition at line 20 of file DeveelDbMapping.cs.
21 var dbMapping = (DbMappingEntity) entity;
22 var memberMapping = dbMapping.TypeMapping.GetMember(member.Name);
23 if (memberMapping == null)
26 return memberMapping.ColumnName;
override MappingEntity Deveel.Data.Linq.DeveelDbMapping.GetEntity |
( |
Type |
elementType, |
|
|
string |
tableId |
|
) |
| |
|
inline |
Definition at line 29 of file DeveelDbMapping.cs.
31 if (typeMapping == null)
32 throw new QueryException(
String.Format(
"The type '{0}' is not mapped by the model", elementType));
34 return new DbMappingEntity(tableId, typeMapping);
A long string in the system.
TypeMapping GetMapping(Type type)
override string Deveel.Data.Linq.DeveelDbMapping.GetTableId |
( |
Type |
type | ) |
|
|
inline |
override string Deveel.Data.Linq.DeveelDbMapping.GetTableName |
( |
MappingEntity |
entity | ) |
|
|
inline |
Definition at line 43 of file DeveelDbMapping.cs.
44 var dbMapping = (DbMappingEntity)entity;
45 return dbMapping.TypeMapping.TableName;
override bool Deveel.Data.Linq.DeveelDbMapping.IsAssociationRelationship |
( |
MappingEntity |
entity, |
|
|
MemberInfo |
member |
|
) |
| |
|
inline |
Definition at line 63 of file DeveelDbMapping.cs.
64 return base.IsAssociationRelationship(entity, member);
override bool Deveel.Data.Linq.DeveelDbMapping.IsColumn |
( |
MappingEntity |
entity, |
|
|
MemberInfo |
member |
|
) |
| |
|
inline |
Definition at line 57 of file DeveelDbMapping.cs.
58 var dbMapping = (DbMappingEntity)entity;
59 return dbMapping.TypeMapping.IsMemberMapped(member.Name) &&
60 dbMapping.TypeMapping.IsColumn(member.Name);
override bool Deveel.Data.Linq.DeveelDbMapping.IsGenerated |
( |
MappingEntity |
entity, |
|
|
MemberInfo |
member |
|
) |
| |
|
inline |
Definition at line 52 of file DeveelDbMapping.cs.
53 var dbMapping = (DbMappingEntity)entity;
54 return dbMapping.TypeMapping.IsUniqueKey(member.Name);
override bool Deveel.Data.Linq.DeveelDbMapping.IsPrimaryKey |
( |
MappingEntity |
entity, |
|
|
MemberInfo |
member |
|
) |
| |
|
inline |
Definition at line 37 of file DeveelDbMapping.cs.
38 var dbMapping = (DbMappingEntity) entity;
39 return dbMapping.TypeMapping.IsPrimaryKey(member.Name) ||
40 dbMapping.TypeMapping.IsUniqueKey(member.Name);
override bool Deveel.Data.Linq.DeveelDbMapping.IsRelationshipSource |
( |
MappingEntity |
entity, |
|
|
MemberInfo |
member |
|
) |
| |
|
inline |
override bool Deveel.Data.Linq.DeveelDbMapping.IsRelationshipTarget |
( |
MappingEntity |
entity, |
|
|
MemberInfo |
member |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb-linq/Deveel.Data.Linq/DeveelDbMapping.cs