Skip to content

Instantly share code, notes, and snippets.

@jbogard
Created December 7, 2011 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbogard/1443059 to your computer and use it in GitHub Desktop.
Save jbogard/1443059 to your computer and use it in GitHub Desktop.
public class SimpleUnitOfWorkBehaviour : IActionBehavior
{
readonly IFubuRequest _fubuRequest;
readonly ISessionFactory _sessionFactory;
ISession _session;
public IActionBehavior InnerBehavior { get; set; }
public SimpleUnitOfWorkBehaviour(ISessionFactory sessionFactory,
IFubuRequest fubuRequest)
{
_sessionFactory = sessionFactory;
_fubuRequest = fubuRequest;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment