Condividi tramite


Metodo SqlFunctions.Checksum (String, String, String)

[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]

Restituisce il valore di checksum calcolato sugli argomenti di input.

Spazio dei nomi:  System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

Sintassi

'Dichiarazione
<DbFunctionAttribute("SqlServer", "CHECKSUM")> _
<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId := "arg2")> _
<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId := "arg3")> _
<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId := "arg1")> _
Public Shared Function Checksum ( _
    arg1 As String, _
    arg2 As String, _
    arg3 As String _
) As Nullable(Of Integer)
'Utilizzo
Dim arg1 As String 
Dim arg2 As String 
Dim arg3 As String 
Dim returnValue As Nullable(Of Integer)

returnValue = SqlFunctions.Checksum(arg1, _
    arg2, arg3)
[DbFunctionAttribute("SqlServer", "CHECKSUM")]
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg2")]
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg3")]
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg1")]
public static Nullable<int> Checksum(
    string arg1,
    string arg2,
    string arg3
)
[DbFunctionAttribute(L"SqlServer", L"CHECKSUM")]
[SuppressMessageAttribute(L"Microsoft.Usage", L"CA1801:ReviewUnusedParameters", MessageId = L"arg2")]
[SuppressMessageAttribute(L"Microsoft.Usage", L"CA1801:ReviewUnusedParameters", MessageId = L"arg3")]
[SuppressMessageAttribute(L"Microsoft.Usage", L"CA1801:ReviewUnusedParameters", MessageId = L"arg1")]
public:
static Nullable<int> Checksum(
    String^ arg1, 
    String^ arg2, 
    String^ arg3
)
[<DbFunctionAttribute("SqlServer", "CHECKSUM")>]
[<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg2")>]
[<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg3")>]
[<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg1")>]
static member Checksum : 
        arg1:string * 
        arg2:string * 
        arg3:string -> Nullable<int> 
public static function Checksum(
    arg1 : String, 
    arg2 : String, 
    arg3 : String
) : Nullable<int>

Parametri

  • arg1
    Tipo: System.String
    Valore per il quale viene calcolato il checksum.
  • arg2
    Tipo: System.String
    Valore per il quale viene calcolato il checksum.
  • arg3
    Tipo: System.String
    Valore per il quale viene calcolato il checksum.

Valore restituito

Tipo: System.Nullable<Int32>
Checksum calcolato sui valori di input.

Vedere anche

Riferimento

SqlFunctions Classe

Overload Checksum

Spazio dei nomi System.Data.Entity.SqlServer