Edit

Share via


SqlFunctions.ChecksumAggregate Method

Definition

Returns the checksum of the values in a collection. Null values are ignored.

Overloads

ChecksumAggregate(IEnumerable<Int32>)

Returns the checksum of the values in a collection. Null values are ignored.

ChecksumAggregate(IEnumerable<Nullable<Int32>>)

Returns the checksum of the values in a collection. Null values are ignored.

Remarks

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see CHECKSUM_AGG (Transact-SQL).

ChecksumAggregate(IEnumerable<Int32>)

Returns the checksum of the values in a collection. Null values are ignored.

public:
 static Nullable<int> ChecksumAggregate(System::Collections::Generic::IEnumerable<int> ^ arg);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "CHECKSUM_AGG")]
public static int? ChecksumAggregate (System.Collections.Generic.IEnumerable<int> arg);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "CHECKSUM_AGG")>]
static member ChecksumAggregate : seq<int> -> Nullable<int>
Public Shared Function ChecksumAggregate (arg As IEnumerable(Of Integer)) As Nullable(Of Integer)

Parameters

arg
IEnumerable<Int32>

The collection of values over which the checksum is computed.

Returns

The checksum computed from the input collection.

Attributes

Remarks

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see CHECKSUM_AGG (Transact-SQL).

Applies to

ChecksumAggregate(IEnumerable<Nullable<Int32>>)

Returns the checksum of the values in a collection. Null values are ignored.

public:
 static Nullable<int> ChecksumAggregate(System::Collections::Generic::IEnumerable<Nullable<int>> ^ arg);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "CHECKSUM_AGG")]
public static int? ChecksumAggregate (System.Collections.Generic.IEnumerable<int?> arg);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "CHECKSUM_AGG")>]
static member ChecksumAggregate : seq<Nullable<int>> -> Nullable<int>
Public Shared Function ChecksumAggregate (arg As IEnumerable(Of Nullable(Of Integer))) As Nullable(Of Integer)

Parameters

arg
IEnumerable<Nullable<Int32>>

The collection of values over which the checksum is computed.

Returns

The checksum computed from the input collection.

Attributes

Remarks

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see CHECKSUM_AGG (Transact-SQL).

Applies to