Class UserRelationshipPreference
The UserRelationshipPreference class defines the relationship preference per user The user initiating the relationship is UserId.
Implements
Inherited Members
Namespace: DotNetNuke.Entities.Users.Social
Assembly: DotNetNuke.dll
Syntax
public class UserRelationshipPreference : BaseEntityInfo, IHydratable
Constructors
| Improve this Doc View SourceUserRelationshipPreference()
Initializes a new instance of the UserRelationshipPreference class.
Declaration
public UserRelationshipPreference()
Properties
| Improve this Doc View SourceDefaultResponse
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 |
KeyID
Gets or sets iHydratable.KeyID.
Declaration
public int KeyID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PreferenceId
Gets or sets preferenceId - The primary key.
Declaration
public int PreferenceId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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 |
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 SourceFill(IDataReader)
Fill the object with data from database.
Declaration
public void Fill(IDataReader dr)
Parameters
Type | Name | Description |
---|---|---|
IDataReader | dr | the data reader. |