Format:
Recent snippets matching tags of FluentNHibernate
public static class ExtensionMethods { public static Configure FluentSagaPersister(this Configure config) { ISessionFactory sessionFactory = FluentConfig.GetFluentSessionFactory(); config.Configurer.RegisterSingleton<ISessionFactory>(sessionFactory); config.Configurer.ConfigureComponent<FluentSagaPersister>(ComponentCallModelEnum.Singlecall); return config; }
280 Views
no comments
public class FluentSagaPersister : ISagaPersister { /// <summary> /// Injected session factory. /// </summary> public ISessionFactory SessionFactory { get; set; } #region ISagaPersister Members public void Save(ISagaEntity saga)
313 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
