سؤال

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

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top