Click or drag to resize
AbstractTableManagerEnsureDefaultValue Method
Add apostrophes around the column default value string according to column type.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
protected virtual string EnsureDefaultValue(
	bool allowNull,
	string sqlType,
	string defValue
)

Parameters

allowNull
Type: SystemBoolean
Indicates whether NULL values are allowed
sqlType
Type: SystemString
SQL type of the table column
defValue
Type: SystemString
Default to add apostrophes to

Return Value

Type: String
See Also