Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Daniel Harris 33 posts 94 karma points
    Jun 24, 2014 @ 12:16
    Daniel Harris
    0

    Is there an alternative to IContainsNHibernateMappingsTag in UCommerce V3?

    Is there an alternative to IContainsNHibernateMappingsTag available in UCommerce v3 that will do the job of allow UCommerce to automatically register my custom Fluent NHibernate mappings?

    I can't seem to find it in any versions before v5, is there a recommended way I can manually (or automatically get UCommerce to) register my custom maps without implementing the mentioned interface?

  • Morten Skjoldager 440 posts 1499 karma points
    Jun 25, 2014 @ 14:42
    Morten Skjoldager
    0

    No. However the sessionFactory is resolved from IoC so you could swap it out and do it like V6. You'll have to use .peek to figure out the implementation. 

  • Morten Skjoldager 440 posts 1499 karma points
    Jun 25, 2014 @ 14:43
    Morten Skjoldager
    0

    Easiest thing would be to just upgrade to v6 though. The difference is not that big actually.

Please Sign in or register to post replies

Write your reply to:

Draft