Пример #1
0
 // <summary>
 // Creates a set discovery service for the given derived context.
 // </summary>
 public EntityRepositoryDiscoveryService(EntityContext context)
 {
     _context = context;
     _service = context.GetService <IContextService>();
 }
Пример #2
0
 // <summary>
 // Creates a set discovery service for the given derived context.
 // </summary>
 public EntityRepositoryDiscoveryService(EntityContext context, EntityContextOptions options)
 {
     _context        = context;
     _options        = options;
     _contextService = context.GetService <IContextService>();
 }