SqlHelperGetComment Method |
Gets a multiline SQL comment for simple input text (must not contain any open comment sequence)
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax public static string GetComment(
string text,
bool newLine = true
)
Parameters
- text
- Type: SystemString
Comment text - newLine (Optional)
- Type: SystemBoolean
If true, new line is added before the comment
Return Value
Type:
StringRemarks
Input text with comment sequence could cause an invalid SQL syntax.
See Also