public FileContextStore(
     [NotNull] IFileContextTableFactory tableFactory,
     bool useNameMatching)
 {
     _tableFactory    = tableFactory;
     _useNameMatching = useNameMatching;
 }
Пример #2
0
 /// <summary>
 ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
 ///     directly from your code. This API may change or be removed in future releases.
 /// </summary>
 public FileContextStore([NotNull] IFileContextTableFactory tableFactory)
 {
     _tableFactory = tableFactory;
 }
Пример #3
0
 /// <summary>
 ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
 ///     directly from your code. This API may change or be removed in future releases.
 /// </summary>
 public FileContextStore([NotNull] IFileContextTableFactory tableFactory, FileContextOptionsExtension _options)
 {
     _tableFactory = tableFactory;
     options       = _options;
 }
 public FileContextStore([NotNull] IFileContextTableFactory tableFactory)
     : this(tableFactory, useNameMatching : false)
 {
 }
        //private IFileContextStore _store;

        /// <summary>
        ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
        ///     directly from your code. This API may change or be removed in future releases.
        /// </summary>
        public FileContextStoreCache([NotNull] IFileContextTableFactory tableFactory)
        {
            _tableFactory = tableFactory;
            _namedStores  = new ConcurrentDictionary <string, IFileContextStore>();
        }
        //private IFileContextStore _store;

        /// <summary>
        ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
        ///     directly from your code. This API may change or be removed in future releases.
        /// </summary>
        public FileContextStoreCache([NotNull] IFileContextTableFactory tableFactory, FileContextStoreStorage fileContextStoreStorage)
        {
            _tableFactory            = tableFactory;
            _fileContextStoreStorage = fileContextStoreStorage;
        }