MicroLite.SqlUtility.GetFirstParameterPosition C# (CSharp) Method

GetFirstParameterPosition() public static method

Gets the position of the first parameter in the specified SQL command text.
Thrown if commandText is null.
public static GetFirstParameterPosition ( string commandText ) : int
commandText string The SQL command text.
return int
        public static int GetFirstParameterPosition(string commandText)
        {
            return GetParameterPosition(commandText, 0, parameterIdentifiers);
        }