A key for type '{0}' cannot be created because parent relation '{1}' does not allow it to determine the parent type. The ...