編輯

共用方式為


Like (PostLike) table/entity reference

A like on an activity feed post.

Messages

The following table lists the messages for the Like (PostLike) table. Messages represent operations that can be performed on the table. They may also be events.

Name
Is Event?
Web API Operation SDK for .NET
Create
Event: False
POST /postlikes
See Create
Create records
Delete
Event: True
DELETE /postlikes(postlikeid)
See Delete
Delete records
Retrieve
Event: True
GET /postlikes(postlikeid)
See Retrieve
Retrieve records
RetrieveMultiple
Event: True
GET /postlikes
See Query data
Query data

Properties

The following table lists selected properties for the Like (PostLike) table.

Property Value
DisplayName Like
DisplayCollectionName Likes
SchemaName PostLike
CollectionSchemaName PostLikes
EntitySetName postlikes
LogicalName postlike
LogicalCollectionName postlikes
PrimaryIdAttribute postlikeid
TableType Standard
OwnershipType OrganizationOwned

Writable columns/attributes

These columns/attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.

PostId

Property Value
Description Unique identifier of the post with which the like is associated.
DisplayName Post
IsValidForForm True
IsValidForRead True
LogicalName postid
RequiredLevel SystemRequired
Type Lookup
Targets post

PostLikeId

Property Value
Description Shows the ID of the post like.
DisplayName PostLikeId
IsValidForForm False
IsValidForRead True
LogicalName postlikeid
RequiredLevel SystemRequired
Type Uniqueidentifier

TimeZoneRuleVersionNumber

Property Value
Description For internal use only.
DisplayName Time Zone Rule Version Number
IsValidForForm False
IsValidForRead True
LogicalName timezoneruleversionnumber
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -1

UTCConversionTimeZoneCode

Property Value
Description Time zone code that was in use when the record was created.
DisplayName UTC Conversion Time Zone Code
IsValidForForm False
IsValidForRead True
LogicalName utcconversiontimezonecode
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -1

Read-only columns/attributes

These columns/attributes return false for both IsValidForCreate and IsValidForUpdate. Listed by SchemaName.

CreatedBy

Property Value
Description Unique identifier of the user who created the record.
DisplayName Created By
IsValidForForm True
IsValidForRead True
LogicalName createdby
RequiredLevel None
Type Lookup
Targets systemuser

CreatedOn

Property Value
Description Date and time when the record was created.
DisplayName Created On
IsValidForForm True
IsValidForRead True
LogicalName createdon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

CreatedOnBehalfBy

Property Value
Description Unique identifier of the delegate user who created the record.
DisplayName Created By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName createdonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

OrganizationId

Property Value
Description Unique identifier of the organization associated with the solution.
DisplayName Organization
IsValidForForm False
IsValidForRead True
LogicalName organizationid
RequiredLevel SystemRequired
Type Lookup
Targets organization

Many-to-One relationships

These relationships are many-to-one. Listed by SchemaName.

lk_postlike_createdby

One-To-Many Relationship: systemuser lk_postlike_createdby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute createdby
ReferencingEntityNavigationPropertyName createdby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_postlike_createdonbehalfby

One-To-Many Relationship: systemuser lk_postlike_createdonbehalfby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute createdonbehalfby
ReferencingEntityNavigationPropertyName createdonbehalfby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

organization_postlike

One-To-Many Relationship: organization organization_postlike

Property Value
ReferencedEntity organization
ReferencedAttribute organizationid
ReferencingAttribute organizationid
ReferencingEntityNavigationPropertyName organizationid
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

Post_Likes

One-To-Many Relationship: post Post_Likes

Property Value
ReferencedEntity post
ReferencedAttribute postid
ReferencingAttribute postid
ReferencingEntityNavigationPropertyName postid
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

See also

Dataverse table/entity reference
Dataverse Web API Reference
postlike