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