SqlFunctions.UserName Method
Returns a database user name corresponding to a specified identification number.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Name | Description | |
---|---|---|
![]() ![]() | UserName() | Returns a database user name corresponding to a specified identification number. |
![]() ![]() | UserName(Nullable<Int32>) | Returns a database user name corresponding to a specified identification number. |
SqlFunctions.UserName Method ()
Returns a database user name corresponding to a specified identification number.
SqlFunctions.UserName Method (Nullable<Int32>)
Returns a database user name corresponding to a specified identification number.
[DbFunctionAttribute("SqlServer", "USER_NAME")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg")] public static string UserName( Nullable<int> arg )
Parameters
- arg
-
Type:
System.Nullable<Int32>
A user ID.