void AddConventionForHasOne(dynamic callInfo) { var repository = RepositoryFor(Pluralize(callInfo.Name), callInfo.Instance.__ConnectionString__()); var hasOne = new HasOne(repository, callInfo.Name); hasOne.ForeignKey = "Id"; InitAssociation(hasOne, callInfo.Instance); }