Exemplo n.º 1
0
 public UserRepository(WordPressDbContext context) => _context = context;
Exemplo n.º 2
0
 public OptionRepository(WordPressDbContext context) => _context = context;
Exemplo n.º 3
0
 public AttachmentRepository(WordPressDbContext context) => _context = context;
Exemplo n.º 4
0
        //private const string ExcludedMetaKeys = @"'_yoast_wpseo_content_score','_edit_lock','_edit_last','_revision-control','_wp_old_slug','wp-smpro-smush-data','_expiration-date-status'";

        public MetadataRepository(WordPressDbContext context, IOptions <WordPressSettings> wordPressSettings)
        {
            _context           = context;
            _wordPressSettings = wordPressSettings.Value;
        }
 public TermTaxonomyRepository(WordPressDbContext context) => _context = context;
        //private const string PublishPostStatus = "publish";

        public PostRepository(WordPressDbContext context) => _context = context;
Exemplo n.º 7
0
 public MenuRepository(WordPressDbContext context) => _context = context;