264 references to AggregateType
System.Data.Common (264)
System\Data\Common\BigIntegerStorage.cs (1)
20
public override object Aggregate(int[] records,
AggregateType
kind)
System\Data\Common\BooleanStorage.cs (5)
22
public override object Aggregate(int[] records,
AggregateType
kind)
29
case
AggregateType
.Min:
45
case
AggregateType
.Max:
61
case
AggregateType
.First: // Does not seem to be implemented
68
case
AggregateType
.Count:
System\Data\Common\ByteStorage.cs (10)
21
public override object Aggregate(int[] records,
AggregateType
kind)
28
case
AggregateType
.Sum:
43
case
AggregateType
.Mean:
62
case
AggregateType
.Var:
63
case
AggregateType
.StDev:
93
if (kind ==
AggregateType
.StDev)
101
case
AggregateType
.Min:
117
case
AggregateType
.Max:
133
case
AggregateType
.First: // Does not seem to be implemented
140
case
AggregateType
.Count:
System\Data\Common\CharStorage.cs (5)
21
public override object Aggregate(int[] records,
AggregateType
kind)
28
case
AggregateType
.Min:
44
case
AggregateType
.Max:
60
case
AggregateType
.First: // Does not seem to be implemented
67
case
AggregateType
.Count:
System\Data\Common\DataStorage.cs (2)
171
public virtual object Aggregate(int[] recordNos,
AggregateType
kind)
173
if (
AggregateType
.Count == kind)
System\Data\Common\DateTimeOffsetStorage.cs (5)
21
public override object Aggregate(int[] records,
AggregateType
kind)
28
case
AggregateType
.Min:
45
case
AggregateType
.Max:
62
case
AggregateType
.First: // Does not seem to be implemented
69
case
AggregateType
.Count:
System\Data\Common\DateTimeStorage.cs (5)
21
public override object Aggregate(int[] records,
AggregateType
kind)
28
case
AggregateType
.Min:
45
case
AggregateType
.Max:
62
case
AggregateType
.First: // Does not seem to be implemented
69
case
AggregateType
.Count:
System\Data\Common\DecimalStorage.cs (10)
21
public override object Aggregate(int[] records,
AggregateType
kind)
28
case
AggregateType
.Sum:
44
case
AggregateType
.Mean:
64
case
AggregateType
.Var:
65
case
AggregateType
.StDev:
96
if (kind ==
AggregateType
.StDev)
104
case
AggregateType
.Min:
121
case
AggregateType
.Max:
138
case
AggregateType
.First: // Does not seem to be implemented
145
case
AggregateType
.Count:
System\Data\Common\DoubleStorage.cs (10)
21
public override object Aggregate(int[] records,
AggregateType
kind)
28
case
AggregateType
.Sum:
43
case
AggregateType
.Mean:
62
case
AggregateType
.Var:
63
case
AggregateType
.StDev:
93
if (kind ==
AggregateType
.StDev)
101
case
AggregateType
.Min:
117
case
AggregateType
.Max:
133
case
AggregateType
.First: // Does not seem to be implemented
140
case
AggregateType
.Count:
System\Data\Common\Int16Storage.cs (10)
21
public override object Aggregate(int[] records,
AggregateType
kind)
28
case
AggregateType
.Sum:
44
case
AggregateType
.Mean:
64
case
AggregateType
.Var:
65
case
AggregateType
.StDev:
96
if (kind ==
AggregateType
.StDev)
105
case
AggregateType
.Min:
122
case
AggregateType
.Max:
139
case
AggregateType
.First: // Does not seem to be implemented
146
case
AggregateType
.Count:
System\Data\Common\Int32Storage.cs (10)
21
public override object Aggregate(int[] records,
AggregateType
kind)
28
case
AggregateType
.Sum:
44
case
AggregateType
.Mean:
64
case
AggregateType
.Var:
65
case
AggregateType
.StDev:
96
if (kind ==
AggregateType
.StDev)
104
case
AggregateType
.Min:
121
case
AggregateType
.Max:
138
case
AggregateType
.First: // Does not seem to be implemented
145
case
AggregateType
.Count:
System\Data\Common\Int64Storage.cs (10)
21
public override object Aggregate(int[] records,
AggregateType
kind)
28
case
AggregateType
.Sum:
44
case
AggregateType
.Mean:
64
case
AggregateType
.Var:
65
case
AggregateType
.StDev:
96
if (kind ==
AggregateType
.StDev)
104
case
AggregateType
.Min:
121
case
AggregateType
.Max:
138
case
AggregateType
.First: // Does not seem to be implemented
145
case
AggregateType
.Count:
System\Data\Common\ObjectStorage.cs (1)
36
public override object Aggregate(int[] records,
AggregateType
kind)
System\Data\Common\SByteStorage.cs (10)
21
public override object Aggregate(int[] records,
AggregateType
kind)
28
case
AggregateType
.Sum:
43
case
AggregateType
.Mean:
62
case
AggregateType
.Var:
63
case
AggregateType
.StDev:
93
if (kind ==
AggregateType
.StDev)
101
case
AggregateType
.Min:
117
case
AggregateType
.Max:
133
case
AggregateType
.First: // Does not seem to be implemented
140
case
AggregateType
.Count:
System\Data\Common\SingleStorage.cs (10)
21
public override object Aggregate(int[] records,
AggregateType
kind)
28
case
AggregateType
.Sum:
43
case
AggregateType
.Mean:
62
case
AggregateType
.Var:
63
case
AggregateType
.StDev:
93
if (kind ==
AggregateType
.StDev)
102
case
AggregateType
.Min:
118
case
AggregateType
.Max:
134
case
AggregateType
.First: // Does not seem to be implemented
141
case
AggregateType
.Count:
System\Data\Common\SQLTypes\SQLBinaryStorage.cs (3)
22
public override object Aggregate(int[] records,
AggregateType
kind)
28
case
AggregateType
.First: // Does not seem to be implemented
35
case
AggregateType
.Count:
System\Data\Common\SQLTypes\SQlBooleanStorage.cs (5)
23
public override object Aggregate(int[] records,
AggregateType
kind)
30
case
AggregateType
.Min:
46
case
AggregateType
.Max:
62
case
AggregateType
.First:
69
case
AggregateType
.Count:
System\Data\Common\SQLTypes\SQLBytesStorage.cs (3)
23
public override object Aggregate(int[] records,
AggregateType
kind)
29
case
AggregateType
.First: // Does not seem to be implemented
36
case
AggregateType
.Count:
System\Data\Common\SQLTypes\SQLByteStorage.cs (10)
23
public override object Aggregate(int[] records,
AggregateType
kind)
30
case
AggregateType
.Sum:
45
case
AggregateType
.Mean:
64
case
AggregateType
.Var:
65
case
AggregateType
.StDev:
95
if (kind ==
AggregateType
.StDev)
103
case
AggregateType
.Min:
120
case
AggregateType
.Max:
137
case
AggregateType
.First: // Does not seem to be implemented
144
case
AggregateType
.Count:
System\Data\Common\SQLTypes\SQLCharsStorage.cs (3)
23
public override object Aggregate(int[] records,
AggregateType
kind)
29
case
AggregateType
.First: // Does not seem to be implemented
36
case
AggregateType
.Count:
System\Data\Common\SQLTypes\SQLDateTimeStorage.cs (5)
23
public override object Aggregate(int[] records,
AggregateType
kind)
30
case
AggregateType
.Min:
47
case
AggregateType
.Max:
64
case
AggregateType
.First: // Does not seem to be implemented
71
case
AggregateType
.Count:
System\Data\Common\SQLTypes\SQLDecimalStorage.cs (10)
23
public override object Aggregate(int[] records,
AggregateType
kind)
30
case
AggregateType
.Sum:
45
case
AggregateType
.Mean:
64
case
AggregateType
.Var:
65
case
AggregateType
.StDev:
95
if (kind ==
AggregateType
.StDev)
103
case
AggregateType
.Min:
120
case
AggregateType
.Max:
137
case
AggregateType
.First: // Does not seem to be implemented
143
case
AggregateType
.Count:
System\Data\Common\SQLTypes\SQLDoubleStorage.cs (10)
23
public override object Aggregate(int[] records,
AggregateType
kind)
30
case
AggregateType
.Sum:
45
case
AggregateType
.Mean:
64
case
AggregateType
.Var:
65
case
AggregateType
.StDev:
95
if (kind ==
AggregateType
.StDev)
103
case
AggregateType
.Min:
120
case
AggregateType
.Max:
137
case
AggregateType
.First: // Does not seem to be implemented
144
case
AggregateType
.Count:
System\Data\Common\SQLTypes\SQLGuidStorage.cs (3)
23
public override object Aggregate(int[] records,
AggregateType
kind)
29
case
AggregateType
.First: // Does not seem to be implemented
36
case
AggregateType
.Count:
System\Data\Common\SQLTypes\SQLInt16Storage.cs (10)
23
public override object Aggregate(int[] records,
AggregateType
kind)
30
case
AggregateType
.Sum:
45
case
AggregateType
.Mean:
64
case
AggregateType
.Var:
65
case
AggregateType
.StDev:
95
if (kind ==
AggregateType
.StDev)
103
case
AggregateType
.Min:
120
case
AggregateType
.Max:
137
case
AggregateType
.First: // Does not seem to be implemented
144
case
AggregateType
.Count:
System\Data\Common\SQLTypes\SQLInt32Storage.cs (10)
23
public override object Aggregate(int[] records,
AggregateType
kind)
30
case
AggregateType
.Sum:
45
case
AggregateType
.Mean:
64
case
AggregateType
.Var:
65
case
AggregateType
.StDev:
95
if (kind ==
AggregateType
.StDev)
103
case
AggregateType
.Min:
120
case
AggregateType
.Max:
137
case
AggregateType
.First: // Does not seem to be implemented
144
case
AggregateType
.Count:
System\Data\Common\SQLTypes\SQLInt64Storage.cs (10)
23
public override object Aggregate(int[] records,
AggregateType
kind)
30
case
AggregateType
.Sum:
45
case
AggregateType
.Mean:
64
case
AggregateType
.Var:
65
case
AggregateType
.StDev:
95
if (kind ==
AggregateType
.StDev)
103
case
AggregateType
.Min:
120
case
AggregateType
.Max:
138
case
AggregateType
.First: // Does not seem to be implemented
145
case
AggregateType
.Count:
System\Data\Common\SQLTypes\SQLMoneyStorage.cs (10)
23
public override object Aggregate(int[] records,
AggregateType
kind)
30
case
AggregateType
.Sum:
45
case
AggregateType
.Mean:
64
case
AggregateType
.Var:
65
case
AggregateType
.StDev:
95
if (kind ==
AggregateType
.StDev)
103
case
AggregateType
.Min:
120
case
AggregateType
.Max:
137
case
AggregateType
.First: // Does not seem to be implemented
144
case
AggregateType
.Count:
System\Data\Common\SQLTypes\SQLSingleStorage.cs (10)
23
public override object Aggregate(int[] records,
AggregateType
kind)
30
case
AggregateType
.Sum:
44
case
AggregateType
.Mean:
64
case
AggregateType
.Var:
65
case
AggregateType
.StDev:
95
if (kind ==
AggregateType
.StDev)
103
case
AggregateType
.Min:
119
case
AggregateType
.Max:
135
case
AggregateType
.First: // Does not seem to be implemented
142
case
AggregateType
.Count:
System\Data\Common\SQLTypes\SQLStringStorage.cs (4)
23
public override object Aggregate(int[] recordNos,
AggregateType
kind)
30
case
AggregateType
.Min:
55
case
AggregateType
.Max:
77
case
AggregateType
.Count:
System\Data\Common\SqlUDTStorage.cs (1)
65
public override object Aggregate(int[] records,
AggregateType
kind)
System\Data\Common\StringStorage.cs (4)
20
public override object Aggregate(int[] recordNos,
AggregateType
kind)
25
case
AggregateType
.Min:
49
case
AggregateType
.Max:
71
case
AggregateType
.Count:
System\Data\Common\TimeSpanStorage.cs (8)
21
public override object Aggregate(int[] records,
AggregateType
kind)
28
case
AggregateType
.Min:
44
case
AggregateType
.Max:
60
case
AggregateType
.First: // Does not seem to be implemented
67
case
AggregateType
.Count:
70
case
AggregateType
.Sum:
87
case
AggregateType
.Mean:
105
case
AggregateType
.StDev:
System\Data\Common\UInt16Storage.cs (10)
21
public override object Aggregate(int[] records,
AggregateType
kind)
28
case
AggregateType
.Sum:
44
case
AggregateType
.Mean:
64
case
AggregateType
.Var:
65
case
AggregateType
.StDev:
96
if (kind ==
AggregateType
.StDev)
104
case
AggregateType
.Min:
121
case
AggregateType
.Max:
138
case
AggregateType
.First: // Does not seem to be implemented
145
case
AggregateType
.Count:
System\Data\Common\UInt32Storage.cs (10)
21
public override object Aggregate(int[] records,
AggregateType
kind)
28
case
AggregateType
.Sum:
44
case
AggregateType
.Mean:
64
case
AggregateType
.Var:
65
case
AggregateType
.StDev:
96
if (kind ==
AggregateType
.StDev)
104
case
AggregateType
.Min:
121
case
AggregateType
.Max:
138
case
AggregateType
.First: // Does not seem to be implemented
145
case
AggregateType
.Count:
System\Data\Common\UInt64Storage.cs (10)
21
public override object Aggregate(int[] records,
AggregateType
kind)
28
case
AggregateType
.Sum:
44
case
AggregateType
.Mean:
64
case
AggregateType
.Var:
65
case
AggregateType
.StDev:
96
if (kind ==
AggregateType
.StDev)
104
case
AggregateType
.Min:
121
case
AggregateType
.Max:
138
case
AggregateType
.First: // Does not seem to be implemented
145
case
AggregateType
.Count:
System\Data\DataColumn.cs (2)
1581
internal object GetAggregateValue(int[] records,
AggregateType
kind)
1585
return kind ==
AggregateType
.Count ? (object)0 : DBNull.Value;
System\Data\DataException.cs (1)
680
public static Exception AggregateException(
AggregateType
aggregateType, Type type) => _Data(SR.Format(SR.DataStorage_AggregateException, aggregateType, type.Name));
System\Data\Filter\AggregateNode.cs (8)
24
private readonly
AggregateType
_type;
48
_type =
AggregateType
.Sum;
50
_type =
AggregateType
.Mean;
52
_type =
AggregateType
.Min;
54
_type =
AggregateType
.Max;
56
_type =
AggregateType
.Count;
58
_type =
AggregateType
.Var;
60
_type =
AggregateType
.StDev;