private static SourceMasterDb createMasterDbSourceContext() { var myContext = new SourceMasterDb("name=SourceMasterDb"); myContext.Configuration.ProxyCreationEnabled = false; return(myContext); }
public SourceMasterRepository(SourceMasterDb sourceMasterDb) { _sourceMasterDb = sourceMasterDb; }