private void InitializeQueries() { _findAllQuery = SqlServerUtilities.GetQuery("Image.FindAll"); _findByIdQuery = SqlServerUtilities.GetQuery("Image.FindById"); _incrementAndFindByIdQuery = SqlServerUtilities.GetQuery("Image.Increment") + _findByIdQuery; _insertQuery = SqlServerUtilities.GetQuery("Image.Insert"); }
private void InitializeQueries() { _findKeywordQuery = SqlServerUtilities.GetQuery("Keyword.Find"); _insertLinkQuery = SqlServerUtilities.GetQuery("Keyword.InsertLink"); _insertKeywordQuery = SqlServerUtilities.GetQuery("Keyword.Insert"); _checkLinkQuery = SqlServerUtilities.GetQuery("Keyword.CheckLink"); }
private void InitializeQueries() { _searchSql = SqlServerUtilities.GetQuery("Search.Search"); _randomSql = SqlServerUtilities.GetQuery("Search.Random"); _topSql = SqlServerUtilities.GetQuery("Search.Top"); _recentSql = SqlServerUtilities.GetQuery("Search.Recent"); _totalsSql = SqlServerUtilities.GetQuery("Search.Totals"); _keywordsSql = SqlServerUtilities.GetQuery("Search.Keywords"); }
private void InitializeQueries() { _insertImageScrapeQuery = SqlServerUtilities.GetQuery("Scrape.Insert"); _searchQuery = SqlServerUtilities.GetQuery("Scrape.Search"); _searchHashQuery = SqlServerUtilities.GetQuery("Scrape.SearchHash"); }