Method DeferredSum
DeferredSum(IQueryable<Int32>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<int> DeferredSum(this IQueryable<int> source)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<System.Int32> | source | A sequence of System.Int32 values to calculate the sum of. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Int32> | The sum of the values in the sequence. |
DeferredSum(IQueryable<Nullable<Int32>>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<int?> DeferredSum(this IQueryable<int?> source)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<System.Nullable<System.Int32>> | source | A sequence of nullable System.Int32 values to calculate the sum of. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Nullable<System.Int32>> | The sum of the values in the sequence. |
DeferredSum(IQueryable<Int64>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<long> DeferredSum(this IQueryable<long> source)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<System.Int64> | source | A sequence of System.Int64 values to calculate the sum of. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Int64> | The sum of the values in the sequence. |
DeferredSum(IQueryable<Nullable<Int64>>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<long?> DeferredSum(this IQueryable<long?> source)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<System.Nullable<System.Int64>> | source | A sequence of nullable System.Int64 values to calculate the sum of. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Nullable<System.Int64>> | The sum of the values in the sequence. |
DeferredSum(IQueryable<Single>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<float> DeferredSum(this IQueryable<float> source)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<System.Single> | source | A sequence of System.Single values to calculate the sum of. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Single> | The sum of the values in the sequence. |
DeferredSum(IQueryable<Nullable<Single>>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<float?> DeferredSum(this IQueryable<float?> source)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<System.Nullable<System.Single>> | source | A sequence of nullable System.Single values to calculate the sum of. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Nullable<System.Single>> | The sum of the values in the sequence. |
DeferredSum(IQueryable<Double>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<double> DeferredSum(this IQueryable<double> source)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<System.Double> | source | A sequence of System.Double values to calculate the sum of. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Double> | The sum of the values in the sequence. |
DeferredSum(IQueryable<Nullable<Double>>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<double?> DeferredSum(this IQueryable<double?> source)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<System.Nullable<System.Double>> | source | A sequence of nullable System.Double values to calculate the sum of. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Nullable<System.Double>> | The sum of the values in the sequence. |
DeferredSum(IQueryable<Decimal>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<decimal> DeferredSum(this IQueryable<decimal> source)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<System.Decimal> | source | A sequence of System.Decimal values to calculate the sum of. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Decimal> | The sum of the values in the sequence. |
DeferredSum(IQueryable<Nullable<Decimal>>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<decimal?> DeferredSum(this IQueryable<decimal?> source)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<System.Nullable<System.Decimal>> | source | A sequence of nullable System.Decimal values to calculate the sum of. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Nullable<System.Decimal>> | The sum of the values in the sequence. |
DeferredSum<TSource>(IQueryable<TSource>, Expression<Func<TSource, Int32>>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<int> DeferredSum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, int>> selector)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<TSource> | source | A sequence of values of type TSource. |
Expression<Func<TSource, System.Int32>> | selector | A projection function to apply to each element. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Int32> | The sum of the projected values. |
Type Parameters
Name | Description |
---|---|
TSource | The type of the elements of source. |
DeferredSum<TSource>(IQueryable<TSource>, Expression<Func<TSource, Nullable<Int32>>>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<int?> DeferredSum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, int?>> selector)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<TSource> | source | A sequence of values of type TSource. |
Expression<Func<TSource, System.Nullable<System.Int32>>> | selector | A projection function to apply to each element. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Nullable<System.Int32>> | The sum of the projected values. |
Type Parameters
Name | Description |
---|---|
TSource | The type of the elements of source. |
DeferredSum<TSource>(IQueryable<TSource>, Expression<Func<TSource, Int64>>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<long> DeferredSum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, long>> selector)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<TSource> | source | A sequence of values of type TSource. |
Expression<Func<TSource, System.Int64>> | selector | A projection function to apply to each element. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Int64> | The sum of the projected values. |
Type Parameters
Name | Description |
---|---|
TSource | The type of the elements of source. |
DeferredSum<TSource>(IQueryable<TSource>, Expression<Func<TSource, Nullable<Int64>>>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<long?> DeferredSum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, long?>> selector)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<TSource> | source | A sequence of values of type TSource. |
Expression<Func<TSource, System.Nullable<System.Int64>>> | selector | A projection function to apply to each element. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Nullable<System.Int64>> | The sum of the projected values. |
Type Parameters
Name | Description |
---|---|
TSource | The type of the elements of source. |
DeferredSum<TSource>(IQueryable<TSource>, Expression<Func<TSource, Single>>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<float> DeferredSum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, float>> selector)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<TSource> | source | A sequence of values of type TSource. |
Expression<Func<TSource, System.Single>> | selector | A projection function to apply to each element. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Single> | The sum of the projected values. |
Type Parameters
Name | Description |
---|---|
TSource | The type of the elements of source. |
DeferredSum<TSource>(IQueryable<TSource>, Expression<Func<TSource, Nullable<Single>>>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<float?> DeferredSum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, float?>> selector)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<TSource> | source | A sequence of values of type TSource. |
Expression<Func<TSource, System.Nullable<System.Single>>> | selector | A projection function to apply to each element. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Nullable<System.Single>> | The sum of the projected values. |
Type Parameters
Name | Description |
---|---|
TSource | The type of the elements of source. |
DeferredSum<TSource>(IQueryable<TSource>, Expression<Func<TSource, Double>>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<double> DeferredSum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, double>> selector)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<TSource> | source | A sequence of values of type TSource. |
Expression<Func<TSource, System.Double>> | selector | A projection function to apply to each element. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Double> | The sum of the projected values. |
Type Parameters
Name | Description |
---|---|
TSource | The type of the elements of source. |
DeferredSum<TSource>(IQueryable<TSource>, Expression<Func<TSource, Nullable<Double>>>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<double?> DeferredSum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, double?>> selector)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<TSource> | source | A sequence of values of type TSource. |
Expression<Func<TSource, System.Nullable<System.Double>>> | selector | A projection function to apply to each element. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Nullable<System.Double>> | The sum of the projected values. |
Type Parameters
Name | Description |
---|---|
TSource | The type of the elements of source. |
DeferredSum<TSource>(IQueryable<TSource>, Expression<Func<TSource, Decimal>>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<decimal> DeferredSum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, decimal>> selector)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<TSource> | source | A sequence of values of type TSource. |
Expression<Func<TSource, System.Decimal>> | selector | A projection function to apply to each element. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Decimal> | The sum of the projected values. |
Type Parameters
Name | Description |
---|---|
TSource | The type of the elements of source. |
DeferredSum<TSource>(IQueryable<TSource>, Expression<Func<TSource, Nullable<Decimal>>>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<decimal?> DeferredSum<TSource>(this IQueryable<TSource> source, Expression<Func<TSource, decimal?>> selector)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<TSource> | source | A sequence of values of type TSource. |
Expression<Func<TSource, System.Nullable<System.Decimal>>> | selector | A projection function to apply to each element. |
Returns
Type | Description |
---|---|
QueryDeferred<System.Nullable<System.Decimal>> | The sum of the projected values. |
Type Parameters
Name | Description |
---|---|
TSource | The type of the elements of source. |