private static IEnumerable <string> ManyToManySidesNames(this PropertyPath member)
        {
            yield return(member.Owner().Name);

            yield return(member.CollectionElementType().Name);
        }
 protected override void OnBeforeMapManyToMany(IModelInspector modelInspector, PropertyPath member, IManyToManyMapper collectionRelationManyToManyCustomizer)
 {
     collectionRelationManyToManyCustomizer.Column(GetIdentifier(string.Format("{0}Id", member.CollectionElementType().Name)));
 }
 public static MemberInfo OneToManyOtherSideProperty(this PropertyPath member)
 {
     return(member.CollectionElementType().GetFirstPropertyOfType(member.Owner()));
 }