AbstractTableManagerEnsureDefaultValue Method |
Add apostrophes around the column default value string according to column type.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax 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:
StringSee Also