Class RelationshipType
The RelationshipType defines the core relationship types (Friend (2-way), Follower (1-way)).
Implements
Inherited Members
Namespace: DotNetNuke.Entities.Users
Assembly: DotNetNuke.dll
Syntax
public class RelationshipType : BaseEntityInfo, IHydratable
Properties
| Improve this Doc View SourceDescription
Gets or sets relationship Description.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Direction
Gets or sets relationship Direction.
Declaration
public RelationshipDirection Direction { get; set; }
Property Value
Type | Description |
---|---|
RelationshipDirection |
KeyID
Gets or sets iHydratable.KeyID.
Declaration
public int KeyID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
Gets or sets relationship Type Name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RelationshipTypeId
Gets or sets relationshipId - The primary key.
Declaration
public int RelationshipTypeId { 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. |