PHPAnalysis.Analysis.CFG.Taint.StringAnalysis.IsSQLInsertionStmt C# (CSharp) Метод

IsSQLInsertionStmt() публичный статический Метод

Checks whether the given string statement is an SQL insertion statement Examples: INSERT INTO, UPDATE
public static IsSQLInsertionStmt ( string statement ) : bool
statement string
Результат bool
        public static bool IsSQLInsertionStmt(string statement)
        {
            return statement.ToUpper().StartsWith("INSERT INTO") || statement.ToUpper().StartsWith("UPDATE");
        }