Home > Class Reference > ENSLIB namespace > %BI.BlogComment

%BI.BlogComment

persistent class %BI.BlogComment extends %Library.Persistent, %BI.Adaptor

SQL Table Name: %BI.BlogComment

Property Inventory (Including Private)

Properties (Including Private)

property DateTime as %String (TRUNCATE = 1);
Property methods: DateTimeDisplayToLogical(), DateTimeGet(), DateTimeGetStored(), DateTimeIsValid(), DateTimeLogicalToDisplay(), DateTimeLogicalToOdbc(), DateTimeNormalize(), DateTimeSet()
relationship Post as %BI.BlogPost [ Required , Inverse = Comment , Cardinality = parent ];
Property methods: PostCheck(), PostDelete(), PostGet(), PostGetObject(), PostGetObjectId(), PostGetStored(), PostGetSwizzled(), PostIsValid(), PostMessageDisplayToLogical(), PostMessageGet(), PostMessageGetStored(), PostMessageIsValid(), PostMessageLogicalToDisplay(), PostMessageLogicalToOdbc(), PostMessageNormalize(), PostMessageSet(), PostNewObject(), PostOnDelete(), PostRClose(), PostRExec(), PostRFetch(), PostRelate(), PostSQLCompute(), PostSet(), PostSetObject(), PostSetObjectId(), PostUnRelate(), PostUnSwizzle()
property PostMessage as %String (MAXLEN = 25000, TRUNCATE = 1);
Property methods: PostMessageDisplayToLogical(), PostMessageGet(), PostMessageGetStored(), PostMessageIsValid(), PostMessageLogicalToDisplay(), PostMessageLogicalToOdbc(), PostMessageNormalize(), PostMessageSet()
property UserName as %String (TRUNCATE = 1);
Property methods: UserNameDisplayToLogical(), UserNameGet(), UserNameGetStored(), UserNameIsValid(), UserNameLogicalToDisplay(), UserNameLogicalToOdbc(), UserNameNormalize(), UserNameSet()

Queries

query ByBlogPostId(blogPostId As %String)
SQL Query:
SELECT ID,DateTime,PostMessage,UserName,COUNT(*) AS TotalRow FROM BlogComment WHERE Post->ID = :blogPostId
query CommentQuery()
SQL Query:
SELECT ID,DateTime,PostMessage,UserName FROM BlogComment

Inherited Members

Inherited Methods (Including Private)