Click or drag to resize
BizFormInfoProvider.GenerateFormPrimaryKeyName 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: 10.0.0
Syntax
C#
public static string GenerateFormPrimaryKeyName(
	string formCodeName
)

Parameters

formCodeName
Type: System.String
Code name of the FormInfo

Return Value

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