Click or drag to resize
BizFormInfoProviderGenerateFormPrimaryKeyName Method
Takes code name of the form and generates a primary key name from it. Generated primary key is safe to use in the database. It does not contain forbidden characters, does not start with a number, etc.

Namespace: CMS.OnlineForms
Assembly: CMS.OnlineForms (in CMS.OnlineForms.dll) Version: 9.0.0
Syntax
C#
public static string GenerateFormPrimaryKeyName(
	string formCodeName
)

Parameters

formCodeName
Type: SystemString
Code name of the FormInfo

Return Value

Type: String
Primary key name of the form
Exceptions
ExceptionCondition
ArgumentExceptionformCodeName is null or empty
See Also