SqlFunctions.Ascii Method (String)
Returns the ASCII code value of the left-most character of a character expression.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
You cannot call this function directly. This function can only appear within a LINQ to Entities query.
This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see ASCII (Transact-SQL).
Available since 4.0