Is there a way to discover whether a table has a one-to-one relationship to another table. For example:
class User{
class UserDetail {
UserDetailId would give a ForeignKey however, UserDetail would not relate directly back to User
class User{
public string UserDetailId {get; set; }
public virtual UserDetail UserDetail {get; set; }
}class UserDetail {
public string UserDetailId {get; set; }
public virtual User User {get; set; }
}UserDetailId would give a ForeignKey however, UserDetail would not relate directly back to User