SqlFunctions.ChecksumAggregate Method

 

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

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticChecksumAggregate(IEnumerable<Int32>)

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

System_CAPS_pubmethodSystem_CAPS_staticChecksumAggregate(IEnumerable<Nullable<Int32>>)

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


SqlFunctions.ChecksumAggregate Method (IEnumerable<Int32>)

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

[DbFunctionAttribute("SqlServer", "CHECKSUM_AGG")]
public static Nullable<int> ChecksumAggregate(
	IEnumerable<int> arg
)

Parameters

arg
Type: System.Collections.Generic.IEnumerable<Int32>

The collection of values over which the checksum is computed.

Return Value

Type: System.Nullable<Int32>

The checksum computed from the input collection.


SqlFunctions.ChecksumAggregate Method (IEnumerable<Nullable<Int32>>)

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

[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[DbFunctionAttribute("SqlServer", "CHECKSUM_AGG")]
public static Nullable<int> ChecksumAggregate(
	IEnumerable<Nullable<int>> arg
)

Parameters

arg
Type: System.Collections.Generic.IEnumerable<Nullable<Int32>>

The collection of values over which the checksum is computed.

Return Value

Type: System.Nullable<Int32>

The checksum computed from the input collection.