public UserRepository(WordPressDbContext context) => _context = context;
public OptionRepository(WordPressDbContext context) => _context = context;
public AttachmentRepository(WordPressDbContext context) => _context = context;
//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;
public MenuRepository(WordPressDbContext context) => _context = context;