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

%BI.BlogComment


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

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
4 2


Summary


Properties
DateTime Post PostMessage UserName

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnAfterSave %OnBeforeAddToSync
%OnDelete %OnDetermineClass %Open %OpenId
%OriginalNamespace %PackageName %PhysicalAddress %PurgeIndices
%Reload %RemoveFromSaveSet %ResolveConcurrencyConflict %RollBack
%Save %SaveDirect %SaveIndices %SerializeObject
%SetModified %SortBegin %SortEnd %SyncObjectIn
%SyncTransport %UnlockExtent %UnlockId %ValidateIndices
%ValidateObject DrillDownData DrillDownList HiDebug
HiRebuild ListData ListHeader SaveAIData
SelectBuild SimQueryData SpeedOnAfterSave SpeedOnDelete
zzBuild zzBuildDebug zzBuildOne zzBuildProcess
zzCompress zzDeleteAllIdx zzDeleteCondition zzFastRebuild
zzInitProc zzQBuildOne zzSBuild zzSBuildProcess
zzTime zzTimeRanges


Properties


• property DateTime as %String(TRUNCATE=1);
• relationship Post as %BI.BlogPost [ Inverse = Comment,Cardinality = parent ];
• property PostMessage as %String(MAXLEN=25000,TRUNCATE=1);
• property UserName as %String(TRUNCATE=1);

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