Hi I recently updated my version of structuremap to the latest release and i get prompted to change this line but I’m not really sure how, I tried tho but with no luck. This code works but I would like to user the new “way”.
ForRequestedType<ISessionSourceConfiguration>().TheDefault.Is.OfConcreteType<MsSqlSessionSourceConfiguration>().WithCtorArg("connectionString").EqualTo(connectionString);
Same with this
For<INHibernateUnitOfWork>().CacheBy(InstanceScope.Hybrid).TheDefault.Is.OfConcreteType<NHibernateUnitOfWork>();
Thanks for tips
You should be able to use:
and