Share via


SqlFunctions.UserName Metodo

Definizione

Restituisce un nome utente del database corrispondente al numero di identificazione specificato.

Overload

UserName()

Restituisce un nome utente del database corrispondente al numero di identificazione specificato.

UserName(Nullable<Int32>)

Restituisce un nome utente del database corrispondente al numero di identificazione specificato.

Commenti

Non è possibile chiamare direttamente questa funzione. Questa funzione può essere visualizzata solo all'interno di una query LINQ to Entities.

Questa funzione viene convertita in una funzione corrispondente nel database. Per informazioni sulla funzione di SQL Server corrispondente, vedere USER_NAME (Transact-SQL) .

UserName()

Restituisce un nome utente del database corrispondente al numero di identificazione specificato.

public:
 static System::String ^ UserName();
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "USER_NAME")]
public static string UserName ();
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "USER_NAME")>]
static member UserName : unit -> string
Public Shared Function UserName () As String

Restituisce

Nome utente.

Attributi

Commenti

Non è possibile chiamare direttamente questa funzione. Questa funzione può essere visualizzata solo all'interno di una query LINQ to Entities.

Questa funzione viene convertita in una funzione corrispondente nel database. Per informazioni sulla funzione di SQL Server corrispondente, vedere USER_NAME (Transact-SQL) .

Si applica a

UserName(Nullable<Int32>)

Restituisce un nome utente del database corrispondente al numero di identificazione specificato.

public:
 static System::String ^ UserName(Nullable<int> arg);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "USER_NAME")]
public static string UserName (int? arg);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "USER_NAME")>]
static member UserName : Nullable<int> -> string
Public Shared Function UserName (arg As Nullable(Of Integer)) As String

Parametri

arg
Nullable<Int32>

ID utente.

Restituisce

Nome utente.

Attributi

Commenti

Non è possibile chiamare direttamente questa funzione. Questa funzione può essere visualizzata solo all'interno di una query LINQ to Entities.

Questa funzione viene convertita in una funzione corrispondente nel database. Per informazioni sulla funzione di SQL Server corrispondente, vedere USER_NAME (Transact-SQL) .

Si applica a