C# Class Frapid.Configuration.Db.Sanitizer

Show file Open project: frapid/frapid

Public Methods

Method Description
SanitizeIdentifierName ( string identifier ) : string

Please do not use this function to fix the quotes against SQL injection attack. This is not a replacement of parameterized statements.

Method Details

SanitizeIdentifierName() public static method

Please do not use this function to fix the quotes against SQL injection attack. This is not a replacement of parameterized statements.
public static SanitizeIdentifierName ( string identifier ) : string
identifier string Column name or table name which needs to be sanitized
return string