C# 클래스 Subtext.ImportExport.ObjectHydrator

Class used to hydrade blogml objects from a data reader.
파일 보기 프로젝트 열기: ayende/Subtext

공개 메소드들

메소드 설명
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.

메소드 상세

CreateBlogInstance() 공개 정적인 메소드

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
리턴 BlogMLBlog

CreateCategoryInstance() 공개 정적인 메소드

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
리턴 BlogML.Xml.BlogMLCategory

CreateCommentInstance() 공개 정적인 메소드

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
리턴 BlogML.Xml.BlogMLComment

CreatePostInstance() 공개 정적인 메소드

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
리턴 BlogML.Xml.BlogMLPost

CreateTrackBackInstance() 공개 정적인 메소드

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
리턴 BlogML.Xml.BlogMLTrackback

LoadCommentFromDataReader() 공개 정적인 메소드

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

LoadPostFromDataReader() 공개 정적인 메소드

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

LoadTrackbackFromDataReader() 공개 정적인 메소드

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