0
votes

i have a custom type that implemented IUserType. one of my domain classes have a property of this custom type.

now i want to make Automapping work with this domain, it says that " An association from the table xyz refers to an unmapped class: PersianDate"

PersianDate is my custom type . how should i tell to automapping that this is not a reference, it is a custom user type that is fitted into a string column !!!

i searched everything that was in the internet , i think there is something wrong here

would you please help me to fix it

1
actually it shows errors on all not mapped types in the domain like Image, Point , PointF, SqlType, ....Tiva

1 Answers

1
votes

i found the answer Here, i should use a UserTypeConvention in Automapping conventions