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

Class DataService

Inheritance
System.Object
ComponentBase<IDataService, DataService>
DataService
Implements
IDataService
Inherited Members
ComponentBase<IDataService, DataService>.Instance
ComponentBase<IDataService, DataService>.RegisterInstance(IDataService)
Namespace: DotNetNuke.Entities.Portals.Data
Assembly: DotNetNuke.dll
Syntax
public class DataService : ComponentBase<IDataService, DataService>, IDataService

Methods

| Improve this Doc View Source

AddPortalGroup(PortalGroupInfo, Int32)

Declaration
public int AddPortalGroup(PortalGroupInfo portalGroup, int createdByUserId)
Parameters
Type Name Description
PortalGroupInfo portalGroup
System.Int32 createdByUserId
Returns
Type Description
System.Int32
| Improve this Doc View Source

DeletePortalGroup(PortalGroupInfo)

Declaration
public void DeletePortalGroup(PortalGroupInfo portalGroup)
Parameters
Type Name Description
PortalGroupInfo portalGroup
| Improve this Doc View Source

GetPortalGroups()

Declaration
public IDataReader GetPortalGroups()
Returns
Type Description
IDataReader
| Improve this Doc View Source

GetSharedModulesByPortal(PortalInfo)

Gets all shared modules by the specified Portal with another portals.

Declaration
public IDataReader GetSharedModulesByPortal(PortalInfo portal)
Parameters
Type Name Description
PortalInfo portal

The owner Portal.

Returns
Type Description
IDataReader

A list of ModuleInfo objects.

| Improve this Doc View Source

GetSharedModulesWithPortal(PortalInfo)

Gets all shared modules with the specified Portal by another owner portals.

Declaration
public IDataReader GetSharedModulesWithPortal(PortalInfo portal)
Parameters
Type Name Description
PortalInfo portal

The Portal.

Returns
Type Description
IDataReader

A list of ModuleInfo objects.

| Improve this Doc View Source

UpdatePortalGroup(PortalGroupInfo, Int32)

Declaration
public void UpdatePortalGroup(PortalGroupInfo portalGroup, int lastModifiedByUserId)
Parameters
Type Name Description
PortalGroupInfo portalGroup
System.Int32 lastModifiedByUserId

Implements

IDataService

Extension Methods

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