Beispiel #1
0
 public Repository(DataContextOptions dataContextOptions)
     : this(dataContextOptions, new RepositoryOptions())
 {
 }
Beispiel #2
0
 public Repository(DataContextOptions dataContextOptions, RepositoryOptions options)
 {
     Context  = new DataContext(dataContextOptions);
     _options = options;
 }
Beispiel #3
0
 public DataContext(DataContextOptions options)
 {
     _options = options;
     Context  = new Lazy <DbContext>(InitializeDbContext, true);
 }
Beispiel #4
0
 public RepositoryAsync(DataContextOptions dataContextOptions, RepositoryOptions options)
     : base(dataContextOptions, options)
 {
     Context = new DataContextAsync(dataContextOptions);
 }
Beispiel #5
0
 public DataContextAsync(DataContextOptions options)
     : base(options)
 {
 }
Beispiel #6
0
 public FullTextRepository(IFullTextProvider fullTextProvider, DataContextOptions dataContextOptions, RepositoryOptions options) : base(dataContextOptions, options)
 {
     FullText = fullTextProvider;
 }