mirror of
https://github.com/Radarr/Radarr
synced 2024-12-25 17:27:59 +00:00
parent
17bf438cad
commit
9fae76015a
1 changed files with 2 additions and 1 deletions
|
@ -198,7 +198,8 @@ public RelationshipBuilder<TEntity> AutoMapComplexTypeProperties<T>()
|
|||
{
|
||||
return AutoMapPropertiesWhere(m =>
|
||||
m.MemberType == MemberTypes.Property &&
|
||||
!DataHelper.IsSimpleType((m as PropertyInfo).PropertyType));
|
||||
!DataHelper.IsSimpleType((m as PropertyInfo).PropertyType) &&
|
||||
!MapRepository.Instance.TypeConverters.ContainsKey((m as PropertyInfo).PropertyType));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in a new issue