C# Class Subtext.ImportExport.ObjectHydrator

Class used to hydrade blogml objects from a data reader.
Datei anzeigen Open project: ayende/Subtext

Public Methods

Method Description
CreateBlogInstance ( string title, string subtitle, string rootUrl, string author, string email, System.DateTime dateCreated ) : BlogMLBlog
CreateCategoryInstance ( string id, string title, string description, bool approved, string parentId, System.DateTime dateCreated, System.DateTime dateModified ) : BlogMLCategory
CreateCommentInstance ( string id, string title, string url, string content, string email, string userName, bool approved, System.DateTime dateCreated, System.DateTime dateModified ) : BlogMLComment
CreatePostInstance ( string id, string title, string url, bool approved, string content, System.DateTime dateCreated, System.DateTime dateModified ) : BlogMLPost
CreateTrackBackInstance ( string id, string title, string url, bool approved, System.DateTime dateCreated, System.DateTime dateModified ) : BlogMLTrackback
LoadCommentFromDataReader ( IDataReader reader ) : BlogMLComment

Loads the comment from data reader.

LoadPostFromDataReader ( IDataReader reader ) : BlogMLPost

Loads the post from data reader.

LoadTrackbackFromDataReader ( IDataReader reader ) : BlogMLTrackback

Loads the trackback from data reader.

Method Details

CreateBlogInstance() public static method

public static CreateBlogInstance ( string title, string subtitle, string rootUrl, string author, string email, System.DateTime dateCreated ) : BlogMLBlog
title string
subtitle string
rootUrl string
author string
email string
dateCreated System.DateTime
return BlogMLBlog

CreateCategoryInstance() public static method

public static CreateCategoryInstance ( string id, string title, string description, bool approved, string parentId, System.DateTime dateCreated, System.DateTime dateModified ) : BlogMLCategory
id string
title string
description string
approved bool
parentId string
dateCreated System.DateTime
dateModified System.DateTime
return BlogML.Xml.BlogMLCategory

CreateCommentInstance() public static method

public static CreateCommentInstance ( string id, string title, string url, string content, string email, string userName, bool approved, System.DateTime dateCreated, System.DateTime dateModified ) : BlogMLComment
id string
title string
url string
content string
email string
userName string
approved bool
dateCreated System.DateTime
dateModified System.DateTime
return BlogML.Xml.BlogMLComment

CreatePostInstance() public static method

public static CreatePostInstance ( string id, string title, string url, bool approved, string content, System.DateTime dateCreated, System.DateTime dateModified ) : BlogMLPost
id string
title string
url string
approved bool
content string
dateCreated System.DateTime
dateModified System.DateTime
return BlogML.Xml.BlogMLPost

CreateTrackBackInstance() public static method

public static CreateTrackBackInstance ( string id, string title, string url, bool approved, System.DateTime dateCreated, System.DateTime dateModified ) : BlogMLTrackback
id string
title string
url string
approved bool
dateCreated System.DateTime
dateModified System.DateTime
return BlogML.Xml.BlogMLTrackback

LoadCommentFromDataReader() public static method

Loads the comment from data reader.
public static LoadCommentFromDataReader ( IDataReader reader ) : BlogMLComment
reader IDataReader The reader.
return BlogML.Xml.BlogMLComment

LoadPostFromDataReader() public static method

Loads the post from data reader.
public static LoadPostFromDataReader ( IDataReader reader ) : BlogMLPost
reader IDataReader The reader.
return BlogML.Xml.BlogMLPost

LoadTrackbackFromDataReader() public static method

Loads the trackback from data reader.
public static LoadTrackbackFromDataReader ( IDataReader reader ) : BlogMLTrackback
reader IDataReader The reader.
return BlogML.Xml.BlogMLTrackback