MapIf contraints based mapping

3 views
Skip to first unread message

Michael W Powell

unread,
Jun 3, 2025, 1:56:15 PMJun 3
to Fluent NHibernate
Hello,

I wonder whether there is an FNH extension which offers something like MapIf a conditional mapping if the type in question via expression etc matches a condition. Might also say something like a constraint if possible MapIf<C>(...) i.e. something like `T is a C` in reflection terms.

I have couple of cases where such a cross cutting concern might be interesting to consider.

Thanks...

Best,

Michael W. Powell
Reply all
Reply to author
Forward
0 new messages