コード例 #1
0
 public void AddToOneNotOwningRelation(string fromPropertyName, string mappedByPropertyName, string toEntityName,
                                       IIdMapper idMapper, bool ignoreNotFound)
 {
     relations.Add(fromPropertyName, RelationDescription.ToOne(fromPropertyName, RelationType.ToOneNotOwning,
                                                               toEntityName, mappedByPropertyName, idMapper, null, null, true, ignoreNotFound));
 }
コード例 #2
0
 public void AddToOneRelation(string fromPropertyName, string toEntityName, IIdMapper idMapper, bool insertable, bool ignoreNotFound)
 {
     relations.Add(fromPropertyName, RelationDescription.ToOne(fromPropertyName, RelationType.ToOne,
                                                               toEntityName, null, idMapper, null, null, insertable, ignoreNotFound));
 }