Skip to content

Instantly share code, notes, and snippets.

@cosoria
Created October 11, 2017 15:24
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 cosoria/8e1b29301ee1d7fddc2f740c7e3dc989 to your computer and use it in GitHub Desktop.
Save cosoria/8e1b29301ee1d7fddc2f740c7e3dc989 to your computer and use it in GitHub Desktop.
public interface IEntityFrameworkUnitOfWork : IUnitOfWork
{
IEntityFrameworkContext Context { get; }
}
public interface IEntityFrameworkUnitOfWork<TContext> : IEntityFrameworkUnitOfWork where TContext : class, IEntityFrameworkContext
{
new TContext Context { get; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment