SqlFunctions.Ascii Method (String)
Returns the ASCII code value of the left-most character of a character expression.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg")] [DbFunctionAttribute("SqlServer", "ASCII")] [SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ascii")] public static Nullable<int> Ascii( string arg )
Parameters
- arg
-
Type:
System.String
A valid string.