Exemple #1
0
 public Repository(DataContextOptions dataContextOptions, RepositoryOptions options)
 {
     Context  = new DataContext(dataContextOptions);
     _options = options;
 }
Exemple #2
0
 public Repository(IDataContext <DbContext> dataContext, RepositoryOptions options)
 {
     Context  = dataContext;
     _options = options;
 }
Exemple #3
0
 public RepositoryAsync(DataContextOptions dataContextOptions, RepositoryOptions options)
     : base(dataContextOptions, options)
 {
     Context = new DataContextAsync(dataContextOptions);
 }
Exemple #4
0
 public RepositoryAsync(IDataContextAsync <DbContext> dataContext, RepositoryOptions options)
     : base(dataContext, options)
 {
 }
 public FullTextRepository(IFullTextProvider fullTextProvider, DataContextOptions dataContextOptions, RepositoryOptions options) : base(dataContextOptions, options)
 {
     FullText = fullTextProvider;
 }
 public FullTextRepository(IFullTextProvider fullTextProvider, IDataContext <DbContext> dataContext, RepositoryOptions options) : base(dataContext, options)
 {
     FullText = fullTextProvider;
 }