This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public sealed class NoChangeTracking : IDisposable | |
{ | |
private readonly DbContext _dbContext; | |
private readonly bool _initialAutoDetectChangesValue; | |
public NoChangeTracking(DbContext dbContext) | |
{ | |
if (dbContext == null) throw new ArgumentNullException("dbContext"); | |
_dbContext = dbContext; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Coordinator | |
{ | |
private readonly ICompleteUnitOfWork _unitOfWorkCompleter; | |
private readonly WidgetGenerator _widgetGenerator; | |
private readonly WotsitGenerator _wotsitGenerator; | |
public Coordinator( | |
ICompleteUnitOfWork unitOfWorkCompleter, | |
WidgetGenerator widgetGenerator, | |
WotsitGenerator wotsitGenerator) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Coordinator | |
{ | |
private readonly IMyContext _myContext; | |
private readonly WidgetGenerator _widgetGenerator; | |
private readonly WotsitGenerator _wotsitGenerator; | |
public Coordinator( | |
IMyContext myContext, | |
WidgetGenerator widgetGenerator, | |
WotsitGenerator wotsitGenerator) |