C# Класс Subtext.Framework.Providers.DbProvider

If the DatabaseObjectProvider is used to supply data objects to Subtext, then this provider is used to configure the underlying database used. One example of a class that implements this provider is the SqlDataProvider.
Наследование: System.Configuration.Provider.ProviderBase
Показать файл Открыть проект

Открытые методы

Метод Описание
AddBlogAlias ( BlogAlias alias ) : bool
AddBlogConfiguration ( string title, string userName, string password, string host, string subfolder ) : bool

Adds the initial blog configuration. This is a convenience method for allowing a user with a freshly installed blog to immediately gain access to the admin section to edit the blog.

AddBlogConfiguration ( string title, string userName, string password, string host, string subfolder, int blogGroupId ) : bool

Adds the initial blog configuration. This is a convenience method for allowing a user with a freshly installed blog to immediately gain access to the admin section to edit the blog.

ClearBlogContent ( int blogId ) : bool

Clears all content (Entries, Comments, Track/Ping-backs, Statistices, etc...) for a the current blog (sans the Image Galleries).

ClearLog ( ) : void
DeleteBlogAlias ( BlogAlias alias ) : bool
DeleteBlogGroup ( int BlogGroupId ) : bool
DeleteCategory ( int catId ) : bool
DeleteEnclosure ( int enclosureId ) : bool
DeleteEntry ( int id ) : bool

Deletes an entry with the specified id.

DeleteImage ( int imageID ) : bool
DeleteKeyWord ( int keywordId ) : bool
DeleteLink ( int linkId ) : bool
DeleteMetaTag ( int metaTagId ) : bool
DestroyFeedback ( FeedbackStatusFlag status ) : void

Completely deletes all feedback that fit the status.

DestroyFeedback ( int id ) : void

Completely deletes a feedback item from the database.

GetActiveCategories ( ) : DataSet
GetAggregateHomePageData ( int groupId ) : DataSet

Returns data displayed on an aggregate blog's home page.

GetAggregateRecentImages ( int groupId ) : DataTable
GetAggregateRecentPosts ( int groupId ) : DataTable
GetAggregateStats ( int groupId ) : DataSet
GetAggregateTotalStats ( int groupId ) : DataSet
GetBlogAliasById ( int aliasId ) : IDataReader
GetBlogByDomainAlias ( string host, string subfolder, bool strict ) : IDataReader

Get blog using a domain alias

GetBlogById ( int blogId ) : IDataReader

Gets the blog by id.

GetBlogGroup ( int id, bool activeOnly ) : IDataReader

Deletes the specified BlogGroup id.

GetBlogInfo ( string host, string subfolder ) : IDataReader

Returns a IDataReader instance containing the configuration settings for the blog specified by the Hostname and Application.

GetBlogInfo ( string host, string subfolder, bool strict ) : IDataReader

Returns a IDataReader instance containing the configuration settings for the blog specified by the Hostname and Application.

Until Subtext supports multiple blogs again (if ever), this will always return the same instance.

GetCategories ( CategoryType catType, bool activeOnly ) : IDataReader
GetCommentByChecksumHash ( string checksumHash ) : IDataReader

Searches the data store for the first comment with a matching checksum hash.

GetConditionalEntries ( int itemCount, PostType postType, PostConfig postConfiguration, bool includeCategories ) : IDataReader

Returns the specified number of blog entries

GetEntriesByCategory ( int itemCount, int catID, bool activeOnly ) : IDataReader
GetEntriesByDateRange ( System.DateTime start, System.DateTime stop, PostType postType, bool activeOnly ) : IDataReader
GetEntriesByTag ( int itemCount, string tagName ) : IDataReader
GetEntryDayReader ( System.DateTime dt ) : IDataReader
GetEntryReader ( int id, bool includeCategories ) : IDataReader

Returns a Data Reader pointing to the active entry specified by the entry id no matter which bog it belongs to.

GetEntryReader ( int id, bool activeOnly, bool includeCategories ) : IDataReader

Returns a Data Reader pointing to the entry specified by the entry id. Only returns entries for the current blog (Config.CurrentBlog).

GetEntryReader ( string entryName, bool activeOnly, bool includeCategories ) : IDataReader

Returns a Data Reader pointing to the entry specified by the entry name. Only returns entries for the current blog (Config.CurrentBlog).

GetFeedBackItem ( int id ) : IDataReader

Gets the feed back item by id.

GetFeedBackItems ( int postId ) : IDataReader

Gets the feed back items belonging to the specified post.

GetFeedbackCounts ( int &approved, int &needsModeration, int &flaggedAsSpam, int &deleted ) : void

Gets the feedback counts for the various top level statuses.

GetHost ( ) : IDataReader

Returns the data for the Host.

GetImage ( int imageID, bool activeOnly ) : IDataReader
GetImagesByCategoryID ( int catID, bool activeOnly ) : IDataReader
GetKeyWord ( int keyWordID ) : IDataReader
GetKeyWords ( ) : IDataReader
GetLatestEntryDate ( ) : DateTime?
GetLinkCategory ( int categoryId, bool isActive ) : IDataReader

Returns a data reader for the specified category id.

GetLinkCategory ( string categoryName, bool isActive ) : IDataReader

Returns a data reader for the specified category name.

GetLinkCollectionByPostID ( int postId ) : IDataReader
GetLinkReader ( int linkID ) : IDataReader
GetMetaTagsForBlog ( BlogInfo blog, int pageIndex, int pageSize ) : IDataReader
GetMetaTagsForEntry ( Entry entry, int pageIndex, int pageSize ) : IDataReader
GetPagedBlogDomainAliases ( int blogId, int pageIndex, int pageSize ) : IDataReader
GetPagedBlogs ( string host, int pageIndex, int pageSize, ConfigurationFlags flags ) : IDataReader

Returns a list of all the blogs within the specified range.

GetPagedEntries ( PostType postType, int categoryID, int pageIndex, int pageSize ) : IDataReader

Returns a data reader (IDataReader) pointing to all the blog entries ordered by ID Descending for the specified page index (0-based) and page size.

GetPagedFeedback ( int pageIndex, int pageSize, FeedbackStatusFlag status, FeedbackStatusFlag excludeStatusMask, FeedbackType type ) : IDataReader

Returns a data reader (IDataReader) pointing to all the comments ordered by ID Descending for the specified page index (0-based) and page size.

GetPagedKeyWords ( int pageIndex, int pageSize ) : IDataReader
GetPagedLinks ( int categoryId, int pageIndex, int pageSize, bool sortDescending ) : IDataReader
GetPagedLogEntries ( int pageIndex, int pageSize ) : IDataReader

Gets the specified page of log entries.

GetPagedReferrers ( int pageIndex, int pageSize, int entryId ) : IDataReader
GetPagedViewStats ( int pageIndex, int pageSize, System.DateTime beginDate, System.DateTime endDate ) : IDataReader
GetPostCollectionByMonth ( int month, int year ) : IDataReader
GetPostsByCategoryArchive ( ) : IDataReader
GetPostsByMonthArchive ( ) : IDataReader
GetPostsByYearArchive ( ) : IDataReader
GetPreviousNext ( int entryId ) : IDataReader

Returns a data set with the previous and next entries.

GetTopTags ( int ItemCount ) : IDataReader
Initialize ( string name, NameValueCollection configValue ) : void

Initializes this provider, setting the connection string.

InsertBlogGroup ( string title, bool isActive, int displayOrder, string description ) : int

Inserts the blog group.

InsertCategory ( LinkCategory category ) : int
InsertEnclosure ( Enclosure enclosure ) : int
InsertEntry ( Entry entry ) : int

Adds a new entry in the database.

InsertFeedback ( FeedbackItem feedbackItem ) : int

Adds comment or a ping/trackback for an entry in the database.

InsertImage ( Image image ) : int
InsertKeyWord ( KeyWord keyword ) : int
InsertLink ( Link link ) : int
InsertMetaTag ( MetaTag metaTag ) : int
Instance ( ) : DbProvider

Returns the currently configured DbProvider.

ListBlogGroups ( bool isActive ) : IDataReader

Lists the blog groups.

PushOtherPostsDatesAfter ( System.DateTime dateTimeInPost ) : void
SetEntryCategoryList ( int postId, int categoryIds ) : bool
SetEntryTagList ( int postId, IEnumerable tags ) : bool
SetGroupActive ( int id, bool isActive ) : IDataReader

Sets the group active.

TrackEntry ( EntryView ev ) : bool
TrackEntry ( IEnumerable evc ) : bool
UpdateBlog ( BlogInfo info ) : bool
UpdateBlogAlias ( BlogAlias alias ) : bool
UpdateBlogGroup ( int id, string title, bool isActive, int displayOrder, string description ) : bool

Updates the blog group.

UpdateCategory ( LinkCategory lc ) : bool
UpdateEnclosure ( Enclosure enclosure ) : bool
UpdateEntry ( Entry entry ) : bool

Updates an existing entry.

UpdateFeedback ( FeedbackItem feedbackItem ) : bool

Updates an existing feedback.

UpdateHost ( HostInfo host ) : bool

Updates the HostInfo instance. If the host record is not in the database, one is created. There should only be one host record.

UpdateImage ( Image image ) : bool
UpdateKeyWord ( KeyWord kw ) : bool
UpdateLink ( Link link ) : bool
UpdateMetaTag ( MetaTag metaTag ) : bool

Описание методов

AddBlogAlias() публичный абстрактный Метод

public abstract AddBlogAlias ( BlogAlias alias ) : bool
alias BlogAlias
Результат bool

AddBlogConfiguration() публичный абстрактный Метод

Adds the initial blog configuration. This is a convenience method for allowing a user with a freshly installed blog to immediately gain access to the admin section to edit the blog.
public abstract AddBlogConfiguration ( string title, string userName, string password, string host, string subfolder ) : bool
title string
userName string Name of the user.
password string Password.
host string
subfolder string
Результат bool

AddBlogConfiguration() публичный абстрактный Метод

Adds the initial blog configuration. This is a convenience method for allowing a user with a freshly installed blog to immediately gain access to the admin section to edit the blog.
public abstract AddBlogConfiguration ( string title, string userName, string password, string host, string subfolder, int blogGroupId ) : bool
title string The title.
userName string Name of the user.
password string Password.
host string The host.
subfolder string The subfolder.
blogGroupId int The blog group.
Результат bool

ClearBlogContent() публичный абстрактный Метод

Clears all content (Entries, Comments, Track/Ping-backs, Statistices, etc...) for a the current blog (sans the Image Galleries).
public abstract ClearBlogContent ( int blogId ) : bool
blogId int
Результат bool

ClearLog() публичный абстрактный Метод

public abstract ClearLog ( ) : void
Результат void

DeleteBlogAlias() публичный абстрактный Метод

public abstract DeleteBlogAlias ( BlogAlias alias ) : bool
alias BlogAlias
Результат bool

DeleteBlogGroup() публичный абстрактный Метод

public abstract DeleteBlogGroup ( int BlogGroupId ) : bool
BlogGroupId int
Результат bool

DeleteCategory() публичный абстрактный Метод

public abstract DeleteCategory ( int catId ) : bool
catId int
Результат bool

DeleteEnclosure() публичный абстрактный Метод

public abstract DeleteEnclosure ( int enclosureId ) : bool
enclosureId int
Результат bool

DeleteEntry() публичный абстрактный Метод

Deletes an entry with the specified id.
public abstract DeleteEntry ( int id ) : bool
id int
Результат bool

DeleteImage() публичный абстрактный Метод

public abstract DeleteImage ( int imageID ) : bool
imageID int
Результат bool

DeleteKeyWord() публичный абстрактный Метод

public abstract DeleteKeyWord ( int keywordId ) : bool
keywordId int
Результат bool

DeleteLink() публичный абстрактный Метод

public abstract DeleteLink ( int linkId ) : bool
linkId int
Результат bool

DeleteMetaTag() публичный абстрактный Метод

public abstract DeleteMetaTag ( int metaTagId ) : bool
metaTagId int
Результат bool

DestroyFeedback() публичный абстрактный Метод

Completely deletes all feedback that fit the status.
public abstract DestroyFeedback ( FeedbackStatusFlag status ) : void
status FeedbackStatusFlag
Результат void

DestroyFeedback() публичный абстрактный Метод

Completely deletes a feedback item from the database.
public abstract DestroyFeedback ( int id ) : void
id int
Результат void

GetActiveCategories() публичный абстрактный Метод

public abstract GetActiveCategories ( ) : DataSet
Результат System.Data.DataSet

GetAggregateHomePageData() публичный абстрактный Метод

Returns data displayed on an aggregate blog's home page.
public abstract GetAggregateHomePageData ( int groupId ) : DataSet
groupId int The group id.
Результат System.Data.DataSet

GetAggregateRecentImages() публичный абстрактный Метод

public abstract GetAggregateRecentImages ( int groupId ) : DataTable
groupId int
Результат System.Data.DataTable

GetAggregateRecentPosts() публичный абстрактный Метод

public abstract GetAggregateRecentPosts ( int groupId ) : DataTable
groupId int
Результат System.Data.DataTable

GetAggregateStats() публичный абстрактный Метод

public abstract GetAggregateStats ( int groupId ) : DataSet
groupId int
Результат System.Data.DataSet

GetAggregateTotalStats() публичный абстрактный Метод

public abstract GetAggregateTotalStats ( int groupId ) : DataSet
groupId int
Результат System.Data.DataSet

GetBlogAliasById() публичный абстрактный Метод

public abstract GetBlogAliasById ( int aliasId ) : IDataReader
aliasId int
Результат IDataReader

GetBlogByDomainAlias() публичный абстрактный Метод

Get blog using a domain alias
public abstract GetBlogByDomainAlias ( string host, string subfolder, bool strict ) : IDataReader
host string
subfolder string
strict bool
Результат IDataReader

GetBlogById() публичный абстрактный Метод

Gets the blog by id.
public abstract GetBlogById ( int blogId ) : IDataReader
blogId int Blog id.
Результат IDataReader

GetBlogGroup() публичный абстрактный Метод

Deletes the specified BlogGroup id.
public abstract GetBlogGroup ( int id, bool activeOnly ) : IDataReader
id int
activeOnly bool
Результат IDataReader

GetBlogInfo() публичный абстрактный Метод

Returns a IDataReader instance containing the configuration settings for the blog specified by the Hostname and Application.
public abstract GetBlogInfo ( string host, string subfolder ) : IDataReader
host string Subfolder Name.
subfolder string Subfolder Name.
Результат IDataReader

GetBlogInfo() публичный абстрактный Метод

Returns a IDataReader instance containing the configuration settings for the blog specified by the Hostname and Application.
Until Subtext supports multiple blogs again (if ever), this will always return the same instance.
public abstract GetBlogInfo ( string host, string subfolder, bool strict ) : IDataReader
host string Hostname.
subfolder string Subfolder Name.
strict bool If false, then this will return a blog record if /// there is only one blog record, regardless if the subfolder and hostname match.
Результат IDataReader

GetCategories() публичный абстрактный Метод

public abstract GetCategories ( CategoryType catType, bool activeOnly ) : IDataReader
catType CategoryType
activeOnly bool
Результат IDataReader

GetCommentByChecksumHash() публичный абстрактный Метод

Searches the data store for the first comment with a matching checksum hash.
public abstract GetCommentByChecksumHash ( string checksumHash ) : IDataReader
checksumHash string Checksum hash.
Результат IDataReader

GetConditionalEntries() публичный абстрактный Метод

Returns the specified number of blog entries
public abstract GetConditionalEntries ( int itemCount, PostType postType, PostConfig postConfiguration, bool includeCategories ) : IDataReader
itemCount int
postType PostType
postConfiguration PostConfig
includeCategories bool Whether or not to include categories
Результат IDataReader

GetEntriesByCategory() публичный абстрактный Метод

public abstract GetEntriesByCategory ( int itemCount, int catID, bool activeOnly ) : IDataReader
itemCount int
catID int
activeOnly bool
Результат IDataReader

GetEntriesByDateRange() публичный абстрактный Метод

public abstract GetEntriesByDateRange ( System.DateTime start, System.DateTime stop, PostType postType, bool activeOnly ) : IDataReader
start System.DateTime
stop System.DateTime
postType PostType
activeOnly bool
Результат IDataReader

GetEntriesByTag() публичный абстрактный Метод

public abstract GetEntriesByTag ( int itemCount, string tagName ) : IDataReader
itemCount int
tagName string
Результат IDataReader

GetEntryDayReader() публичный абстрактный Метод

public abstract GetEntryDayReader ( System.DateTime dt ) : IDataReader
dt System.DateTime
Результат IDataReader

GetEntryReader() публичный абстрактный Метод

Returns a Data Reader pointing to the active entry specified by the entry id no matter which bog it belongs to.
public abstract GetEntryReader ( int id, bool includeCategories ) : IDataReader
id int
includeCategories bool
Результат IDataReader

GetEntryReader() публичный абстрактный Метод

Returns a Data Reader pointing to the entry specified by the entry id. Only returns entries for the current blog (Config.CurrentBlog).
public abstract GetEntryReader ( int id, bool activeOnly, bool includeCategories ) : IDataReader
id int
activeOnly bool
includeCategories bool
Результат IDataReader

GetEntryReader() публичный абстрактный Метод

Returns a Data Reader pointing to the entry specified by the entry name. Only returns entries for the current blog (Config.CurrentBlog).
public abstract GetEntryReader ( string entryName, bool activeOnly, bool includeCategories ) : IDataReader
entryName string Url friendly entry name.
activeOnly bool
includeCategories bool
Результат IDataReader

GetFeedBackItem() публичный абстрактный Метод

Gets the feed back item by id.
public abstract GetFeedBackItem ( int id ) : IDataReader
id int The id.
Результат IDataReader

GetFeedBackItems() публичный абстрактный Метод

Gets the feed back items belonging to the specified post.
public abstract GetFeedBackItems ( int postId ) : IDataReader
postId int The post id.
Результат IDataReader

GetFeedbackCounts() публичный абстрактный Метод

Gets the feedback counts for the various top level statuses.
public abstract GetFeedbackCounts ( int &approved, int &needsModeration, int &flaggedAsSpam, int &deleted ) : void
approved int The approved.
needsModeration int The needs moderation.
flaggedAsSpam int The flagged as spam.
deleted int The deleted.
Результат void

GetHost() публичный абстрактный Метод

Returns the data for the Host.
public abstract GetHost ( ) : IDataReader
Результат IDataReader

GetImage() публичный абстрактный Метод

public abstract GetImage ( int imageID, bool activeOnly ) : IDataReader
imageID int
activeOnly bool
Результат IDataReader

GetImagesByCategoryID() публичный абстрактный Метод

public abstract GetImagesByCategoryID ( int catID, bool activeOnly ) : IDataReader
catID int
activeOnly bool
Результат IDataReader

GetKeyWord() публичный абстрактный Метод

public abstract GetKeyWord ( int keyWordID ) : IDataReader
keyWordID int
Результат IDataReader

GetKeyWords() публичный абстрактный Метод

public abstract GetKeyWords ( ) : IDataReader
Результат IDataReader

GetLatestEntryDate() публичный абстрактный Метод

public abstract GetLatestEntryDate ( ) : DateTime?
Результат DateTime?

GetLinkCategory() публичный абстрактный Метод

Returns a data reader for the specified category id.
public abstract GetLinkCategory ( int categoryId, bool isActive ) : IDataReader
categoryId int
isActive bool
Результат IDataReader

GetLinkCategory() публичный абстрактный Метод

Returns a data reader for the specified category name.
public abstract GetLinkCategory ( string categoryName, bool isActive ) : IDataReader
categoryName string
isActive bool
Результат IDataReader

GetLinkCollectionByPostID() публичный абстрактный Метод

public abstract GetLinkCollectionByPostID ( int postId ) : IDataReader
postId int
Результат IDataReader

GetLinkReader() публичный абстрактный Метод

public abstract GetLinkReader ( int linkID ) : IDataReader
linkID int
Результат IDataReader

GetMetaTagsForBlog() публичный абстрактный Метод

public abstract GetMetaTagsForBlog ( BlogInfo blog, int pageIndex, int pageSize ) : IDataReader
blog BlogInfo
pageIndex int
pageSize int
Результат IDataReader

GetMetaTagsForEntry() публичный абстрактный Метод

public abstract GetMetaTagsForEntry ( Entry entry, int pageIndex, int pageSize ) : IDataReader
entry Subtext.Framework.Components.Entry
pageIndex int
pageSize int
Результат IDataReader

GetPagedBlogDomainAliases() публичный абстрактный Метод

public abstract GetPagedBlogDomainAliases ( int blogId, int pageIndex, int pageSize ) : IDataReader
blogId int
pageIndex int
pageSize int
Результат IDataReader

GetPagedBlogs() публичный абстрактный Метод

Returns a list of all the blogs within the specified range.
public abstract GetPagedBlogs ( string host, int pageIndex, int pageSize, ConfigurationFlags flags ) : IDataReader
host string Hostname for the blogs to grab
pageIndex int Page index.
pageSize int Size of the page.
flags ConfigurationFlags Filter blogs retrieved.
Результат IDataReader

GetPagedEntries() публичный абстрактный Метод

Returns a data reader (IDataReader) pointing to all the blog entries ordered by ID Descending for the specified page index (0-based) and page size.
public abstract GetPagedEntries ( PostType postType, int categoryID, int pageIndex, int pageSize ) : IDataReader
postType PostType
categoryID int
pageIndex int
pageSize int
Результат IDataReader

GetPagedFeedback() публичный абстрактный Метод

Returns a data reader (IDataReader) pointing to all the comments ordered by ID Descending for the specified page index (0-based) and page size.
public abstract GetPagedFeedback ( int pageIndex, int pageSize, FeedbackStatusFlag status, FeedbackStatusFlag excludeStatusMask, FeedbackType type ) : IDataReader
pageIndex int
pageSize int
status FeedbackStatusFlag Status flag for the feedback to return.
excludeStatusMask FeedbackStatusFlag A flag for the statuses to exclude.
type FeedbackType Feedback Type (comment, comment api, etc..) for the feedback to return.
Результат IDataReader

GetPagedKeyWords() публичный абстрактный Метод

public abstract GetPagedKeyWords ( int pageIndex, int pageSize ) : IDataReader
pageIndex int
pageSize int
Результат IDataReader

GetPagedLinks() публичный абстрактный Метод

public abstract GetPagedLinks ( int categoryId, int pageIndex, int pageSize, bool sortDescending ) : IDataReader
categoryId int
pageIndex int
pageSize int
sortDescending bool
Результат IDataReader

GetPagedLogEntries() публичный абстрактный Метод

Gets the specified page of log entries.
public abstract GetPagedLogEntries ( int pageIndex, int pageSize ) : IDataReader
pageIndex int Index of the page.
pageSize int Size of the page.
Результат IDataReader

GetPagedReferrers() публичный абстрактный Метод

public abstract GetPagedReferrers ( int pageIndex, int pageSize, int entryId ) : IDataReader
pageIndex int
pageSize int
entryId int
Результат IDataReader

GetPagedViewStats() публичный абстрактный Метод

public abstract GetPagedViewStats ( int pageIndex, int pageSize, System.DateTime beginDate, System.DateTime endDate ) : IDataReader
pageIndex int
pageSize int
beginDate System.DateTime
endDate System.DateTime
Результат IDataReader

GetPostCollectionByMonth() публичный абстрактный Метод

public abstract GetPostCollectionByMonth ( int month, int year ) : IDataReader
month int
year int
Результат IDataReader

GetPostsByCategoryArchive() публичный абстрактный Метод

public abstract GetPostsByCategoryArchive ( ) : IDataReader
Результат IDataReader

GetPostsByMonthArchive() публичный абстрактный Метод

public abstract GetPostsByMonthArchive ( ) : IDataReader
Результат IDataReader

GetPostsByYearArchive() публичный абстрактный Метод

public abstract GetPostsByYearArchive ( ) : IDataReader
Результат IDataReader

GetPreviousNext() публичный абстрактный Метод

Returns a data set with the previous and next entries.
public abstract GetPreviousNext ( int entryId ) : IDataReader
entryId int
Результат IDataReader

GetTopTags() публичный абстрактный Метод

public abstract GetTopTags ( int ItemCount ) : IDataReader
ItemCount int
Результат IDataReader

Initialize() публичный Метод

Initializes this provider, setting the connection string.
public Initialize ( string name, NameValueCollection configValue ) : void
name string Friendly Name of the provider.
configValue System.Collections.Specialized.NameValueCollection Config value.
Результат void

InsertBlogGroup() публичный абстрактный Метод

Inserts the blog group.
public abstract InsertBlogGroup ( string title, bool isActive, int displayOrder, string description ) : int
title string The title.
isActive bool if set to true [is active].
displayOrder int The display order.
description string The description.
Результат int

InsertCategory() публичный абстрактный Метод

public abstract InsertCategory ( LinkCategory category ) : int
category Subtext.Framework.Components.LinkCategory
Результат int

InsertEnclosure() публичный абстрактный Метод

public abstract InsertEnclosure ( Enclosure enclosure ) : int
enclosure Subtext.Framework.Components.Enclosure
Результат int

InsertEntry() публичный абстрактный Метод

Adds a new entry in the database.
public abstract InsertEntry ( Entry entry ) : int
entry Subtext.Framework.Components.Entry
Результат int

InsertFeedback() публичный абстрактный Метод

Adds comment or a ping/trackback for an entry in the database.
public abstract InsertFeedback ( FeedbackItem feedbackItem ) : int
feedbackItem Subtext.Framework.Components.FeedbackItem
Результат int

InsertImage() публичный абстрактный Метод

public abstract InsertImage ( Image image ) : int
image Image
Результат int

InsertKeyWord() публичный абстрактный Метод

public abstract InsertKeyWord ( KeyWord keyword ) : int
keyword Subtext.Framework.Components.KeyWord
Результат int

InsertLink() публичный абстрактный Метод

public abstract InsertLink ( Link link ) : int
link Subtext.Framework.Components.Link
Результат int

InsertMetaTag() публичный абстрактный Метод

public abstract InsertMetaTag ( MetaTag metaTag ) : int
metaTag Subtext.Framework.Components.MetaTag
Результат int

Instance() публичный статический Метод

Returns the currently configured DbProvider.
public static Instance ( ) : DbProvider
Результат DbProvider

ListBlogGroups() публичный абстрактный Метод

Lists the blog groups.
public abstract ListBlogGroups ( bool isActive ) : IDataReader
isActive bool if set to true [is active].
Результат IDataReader

PushOtherPostsDatesAfter() публичный абстрактный Метод

public abstract PushOtherPostsDatesAfter ( System.DateTime dateTimeInPost ) : void
dateTimeInPost System.DateTime
Результат void

SetEntryCategoryList() публичный абстрактный Метод

public abstract SetEntryCategoryList ( int postId, int categoryIds ) : bool
postId int
categoryIds int
Результат bool

SetEntryTagList() публичный абстрактный Метод

public abstract SetEntryTagList ( int postId, IEnumerable tags ) : bool
postId int
tags IEnumerable
Результат bool

SetGroupActive() публичный абстрактный Метод

Sets the group active.
public abstract SetGroupActive ( int id, bool isActive ) : IDataReader
id int The id.
isActive bool if set to true [is active].
Результат IDataReader

TrackEntry() публичный абстрактный Метод

public abstract TrackEntry ( EntryView ev ) : bool
ev Subtext.Framework.Components.EntryView
Результат bool

TrackEntry() публичный абстрактный Метод

public abstract TrackEntry ( IEnumerable evc ) : bool
evc IEnumerable
Результат bool

UpdateBlog() публичный абстрактный Метод

public abstract UpdateBlog ( BlogInfo info ) : bool
info BlogInfo
Результат bool

UpdateBlogAlias() публичный абстрактный Метод

public abstract UpdateBlogAlias ( BlogAlias alias ) : bool
alias BlogAlias
Результат bool

UpdateBlogGroup() публичный абстрактный Метод

Updates the blog group.
public abstract UpdateBlogGroup ( int id, string title, bool isActive, int displayOrder, string description ) : bool
id int The id.
title string The title.
isActive bool if set to true [is active].
displayOrder int The display order.
description string The description.
Результат bool

UpdateCategory() публичный абстрактный Метод

public abstract UpdateCategory ( LinkCategory lc ) : bool
lc Subtext.Framework.Components.LinkCategory
Результат bool

UpdateEnclosure() публичный абстрактный Метод

public abstract UpdateEnclosure ( Enclosure enclosure ) : bool
enclosure Subtext.Framework.Components.Enclosure
Результат bool

UpdateEntry() публичный абстрактный Метод

Updates an existing entry.
public abstract UpdateEntry ( Entry entry ) : bool
entry Subtext.Framework.Components.Entry
Результат bool

UpdateFeedback() публичный абстрактный Метод

Updates an existing feedback.
public abstract UpdateFeedback ( FeedbackItem feedbackItem ) : bool
feedbackItem Subtext.Framework.Components.FeedbackItem
Результат bool

UpdateHost() публичный абстрактный Метод

Updates the HostInfo instance. If the host record is not in the database, one is created. There should only be one host record.
public abstract UpdateHost ( HostInfo host ) : bool
host HostInfo The host information.
Результат bool

UpdateImage() публичный абстрактный Метод

public abstract UpdateImage ( Image image ) : bool
image Image
Результат bool

UpdateKeyWord() публичный абстрактный Метод

public abstract UpdateKeyWord ( KeyWord kw ) : bool
kw Subtext.Framework.Components.KeyWord
Результат bool

UpdateLink() публичный абстрактный Метод

public abstract UpdateLink ( Link link ) : bool
link Subtext.Framework.Components.Link
Результат bool

UpdateMetaTag() публичный абстрактный Метод

public abstract UpdateMetaTag ( MetaTag metaTag ) : bool
metaTag Subtext.Framework.Components.MetaTag
Результат bool