AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

CMSAdminEngine..::..GetSection Method (SQL, Guid)

Retrieves a Section by looking up the ObjectTypeID associated with the specified MasterID.

Namespace:  AdvantageCMS.Core.Admin.Engine
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static Section GetSection(
	SQL currentSql,
	Guid masterId
)

Parameters

currentSql
Type: AdvantageCMS.Data..::..SQL
An active SQL database connection.
masterId
Type: Guid
The MasterID of the object whose section should be resolved.

Return Value

The matching Section, or null if no object or section is found.