• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class UserRelationshipPreference

The UserRelationshipPreference class defines the relationship preference per user The user initiating the relationship is UserId.

Inheritance
System.Object
BaseEntityInfo
UserRelationshipPreference
Implements
IHydratable
Inherited Members
BaseEntityInfo.CreatedByUserID
BaseEntityInfo.CreatedOnDate
BaseEntityInfo.LastModifiedByUserID
BaseEntityInfo.LastModifiedOnDate
BaseEntityInfo.CreatedByUser(Int32)
BaseEntityInfo.LastModifiedByUser(Int32)
BaseEntityInfo.FillInternal(IDataReader)
BaseEntityInfo.CloneBaseProperties(BaseEntityInfo, BaseEntityInfo)
Namespace: DotNetNuke.Entities.Users.Social
Assembly: DotNetNuke.dll
Syntax
public class UserRelationshipPreference : BaseEntityInfo, IHydratable

Constructors

| Improve this Doc View Source

UserRelationshipPreference()

Initializes a new instance of the UserRelationshipPreference class.

Declaration
public UserRelationshipPreference()

Properties

| Improve this Doc View Source

DefaultResponse

Gets or sets default Relationship Status to be provided to any new Relationship Request.

Declaration
public RelationshipStatus DefaultResponse { get; set; }
Property Value
Type Description
RelationshipStatus
| Improve this Doc View Source

KeyID

Gets or sets iHydratable.KeyID.

Declaration
public int KeyID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

PreferenceId

Gets or sets preferenceId - The primary key.

Declaration
public int PreferenceId { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

RelationshipId

Gets or sets the ID of the Relationship to which this Relation belongs to (e.g. Friend List or Coworkers).

Declaration
public int RelationshipId { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

UserId

Gets or sets userId of the User that owns the relationship.

Declaration
public int UserId { get; set; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

Fill(IDataReader)

Fill the object with data from database.

Declaration
public void Fill(IDataReader dr)
Parameters
Type Name Description
IDataReader dr

the data reader.

Implements

IHydratable

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS