Interface IDataService
Assembly: DotNetNuke.dll
Syntax
public interface IDataService
Methods
|
Improve this Doc
View Source
DeleteRelationship(Int32)
Declaration
void DeleteRelationship(int relationshipId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
relationshipId |
|
|
Improve this Doc
View Source
DeleteRelationshipType(Int32)
Declaration
void DeleteRelationshipType(int relationshipTypeId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
relationshipTypeId |
|
|
Improve this Doc
View Source
DeleteUserRelationship(Int32)
Declaration
void DeleteUserRelationship(int userRelationshipId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
userRelationshipId |
|
|
Improve this Doc
View Source
DeleteUserRelationshipPreference(Int32)
Declaration
void DeleteUserRelationshipPreference(int preferenceId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
preferenceId |
|
|
Improve this Doc
View Source
GetAllRelationshipTypes()
Declaration
IDataReader GetAllRelationshipTypes()
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
GetRelationship(Int32)
Declaration
IDataReader GetRelationship(int relationshipId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
relationshipId |
|
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
GetRelationshipsByPortalId(Int32)
Declaration
IDataReader GetRelationshipsByPortalId(int portalId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
portalId |
|
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
GetRelationshipsByUserId(Int32)
Declaration
IDataReader GetRelationshipsByUserId(int userId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
userId |
|
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
GetRelationshipType(Int32)
Declaration
IDataReader GetRelationshipType(int relationshipTypeId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
relationshipTypeId |
|
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
GetUserRelationship(Int32, Int32, Int32, RelationshipDirection)
Declaration
IDataReader GetUserRelationship(int userId, int relatedUserId, int relationshipId, RelationshipDirection relationshipDirection)
Parameters
| Type |
Name |
Description |
| System.Int32 |
userId |
|
| System.Int32 |
relatedUserId |
|
| System.Int32 |
relationshipId |
|
| RelationshipDirection |
relationshipDirection |
|
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
GetUserRelationship(Int32)
Declaration
IDataReader GetUserRelationship(int userRelationshipId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
userRelationshipId |
|
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
GetUserRelationshipPreference(Int32, Int32)
Declaration
IDataReader GetUserRelationshipPreference(int userId, int relationshipId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
userId |
|
| System.Int32 |
relationshipId |
|
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
GetUserRelationshipPreferenceById(Int32)
Declaration
IDataReader GetUserRelationshipPreferenceById(int preferenceId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
preferenceId |
|
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
GetUserRelationships(Int32)
Declaration
IDataReader GetUserRelationships(int userId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
userId |
|
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
GetUserRelationshipsByRelationshipId(Int32)
Declaration
IDataReader GetUserRelationshipsByRelationshipId(int relationshipId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
relationshipId |
|
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
SaveRelationship(Relationship, Int32)
Declaration
int SaveRelationship(Relationship relationship, int createUpdateUserId)
Parameters
| Type |
Name |
Description |
| Relationship |
relationship |
|
| System.Int32 |
createUpdateUserId |
|
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
SaveRelationshipType(RelationshipType, Int32)
Declaration
int SaveRelationshipType(RelationshipType relationshipType, int createUpdateUserId)
Parameters
| Type |
Name |
Description |
| RelationshipType |
relationshipType |
|
| System.Int32 |
createUpdateUserId |
|
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
SaveUserRelationship(UserRelationship, Int32)
Declaration
int SaveUserRelationship(UserRelationship userRelationship, int createUpdateUserId)
Parameters
| Type |
Name |
Description |
| UserRelationship |
userRelationship |
|
| System.Int32 |
createUpdateUserId |
|
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
SaveUserRelationshipPreference(UserRelationshipPreference, Int32)
Declaration
int SaveUserRelationshipPreference(UserRelationshipPreference userRelationshipPreference, int createUpdateUserId)
Parameters
Returns
| Type |
Description |
| System.Int32 |
|
Extension Methods