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)); }
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)); }