Click or drag to resize
AbstractInfoProviderTInfo, TProvider, TQueryGetInfoByCodeNameFromDB Method
Gets an instance of info object based on the given code name from database

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
protected virtual TInfo GetInfoByCodeNameFromDB(
	string codeName,
	int siteId,
	int groupId
)

Parameters

codeName
Type: SystemString
Code name
siteId
Type: SystemInt32
Site ID
groupId
Type: SystemInt32
Community group ID

Return Value

Type: TInfo
See Also