55 references to DATEPART
System.Data.Linq (55)
SqlClient\Common\SqlFactory.cs (5)
244
SqlExpression ns =
DATEPART
("NANOSECOND", timeSpan);
245
SqlExpression ms =
DATEPART
("MILLISECOND", timeSpan);
246
SqlExpression ss =
DATEPART
("SECOND", timeSpan);
247
SqlExpression mi =
DATEPART
("MINUTE", timeSpan);
248
SqlExpression hh =
DATEPART
("HOUR", timeSpan);
SqlClient\Query\SqlMethodCallConverter.cs (50)
1065
SqlExpression ns = this.sql.
DATEPART
("NANOSECOND", mc.Arguments[0]);
1066
SqlExpression ss = this.sql.
DATEPART
("SECOND", mc.Arguments[0]);
1067
SqlExpression mm = this.sql.
DATEPART
("MINUTE", mc.Arguments[0]);
1068
SqlExpression hh = this.sql.
DATEPART
("HOUR", mc.Arguments[0]);
1123
SqlExpression ns = sql.
DATEPART
("NANOSECOND", mc.Arguments[0]);
1124
SqlExpression ss = sql.
DATEPART
("SECOND", mc.Arguments[0]);
1125
SqlExpression mi = sql.
DATEPART
("MINUTE", mc.Arguments[0]);
1126
SqlExpression hh = sql.
DATEPART
("HOUR", mc.Arguments[0]);
1345
SqlExpression ns = sql.
DATEPART
("NANOSECOND", right);
1346
SqlExpression ss = sql.
DATEPART
("SECOND", right);
1347
SqlExpression mi = sql.
DATEPART
("MINUTE", right);
1348
SqlExpression hh = sql.
DATEPART
("HOUR", right);
2181
return sql.
DATEPART
(datePart, exp);
2194
SqlExpression ms = sql.
DATEPART
("MILLISECOND", exp);
2195
SqlExpression ss = sql.
DATEPART
("SECOND", exp);
2196
SqlExpression mi = sql.
DATEPART
("MINUTE", exp);
2197
SqlExpression hh = sql.
DATEPART
("HOUR", exp);
2214
SqlExpression hours = sql.
DATEPART
("HOUR", exp);
2215
SqlExpression minutes = sql.
DATEPART
("MINUTE", exp);
2216
SqlExpression seconds = sql.
DATEPART
("SECOND", exp);
2217
SqlExpression milliseconds = sql.
DATEPART
("MILLISECOND", exp);
2227
SqlExpression sqlDay = sql.
DATEPART
("dw", exp);
2246
this.sql.Multiply(sql.ConvertToBigint(sql.
DATEPART
("HOUR", exp)), 3600000000000),
2247
this.sql.Multiply(sql.ConvertToBigint(sql.
DATEPART
("MINUTE", exp)), 60000000000),
2248
this.sql.Multiply(sql.ConvertToBigint(sql.
DATEPART
("SECOND", exp)), 1000000000),
2249
sql.
DATEPART
("NANOSECOND", exp))
2258
this.sql.Multiply(sql.
DATEPART
("HOUR", exp), 3600000),
2259
this.sql.Multiply(sql.
DATEPART
("MINUTE", exp), 60000),
2260
this.sql.Multiply(sql.
DATEPART
("SECOND", exp), 1000),
2261
this.sql.Divide(sql.ConvertToDouble(sql.ConvertToBigint(sql.
DATEPART
("NANOSECOND", exp))), 1000000)
2268
this.sql.Multiply(sql.
DATEPART
("HOUR", exp), 3600),
2269
this.sql.Multiply(sql.
DATEPART
("MINUTE", exp), 60),
2270
this.sql.
DATEPART
("SECOND", exp),
2271
this.sql.Divide(sql.ConvertToDouble(sql.ConvertToBigint(sql.
DATEPART
("NANOSECOND", exp))), 1000000000)
2278
this.sql.Multiply(sql.
DATEPART
("HOUR", exp), 60),
2279
this.sql.
DATEPART
("MINUTE", exp),
2280
this.sql.Divide(sql.ConvertToDouble(sql.
DATEPART
("SECOND", exp)), 60),
2281
this.sql.Divide(sql.ConvertToDouble(sql.ConvertToBigint(sql.
DATEPART
("NANOSECOND", exp))), 60000000000)
2288
this.sql.
DATEPART
("HOUR", exp),
2289
this.sql.Divide(sql.ConvertToDouble(sql.
DATEPART
("MINUTE", exp)), 60),
2290
this.sql.Divide(sql.ConvertToDouble(sql.
DATEPART
("SECOND", exp)), 3600),
2291
this.sql.Divide(sql.ConvertToDouble(sql.ConvertToBigint(sql.
DATEPART
("NANOSECOND", exp))), 3600000000000)
2299
this.sql.
DATEPART
("HOUR", exp),
2300
this.sql.Divide(sql.ConvertToDouble(sql.
DATEPART
("MINUTE", exp)), 60),
2301
this.sql.Divide(sql.ConvertToDouble(sql.
DATEPART
("SECOND", exp)), 3600),
2302
this.sql.Divide(sql.ConvertToDouble(sql.ConvertToBigint(sql.
DATEPART
("NANOSECOND", exp))), 3600000000000)),
2309
return this.sql.
DATEPART
("MILLISECOND", exp);
2314
return this.sql.
DATEPART
("SECOND", exp);
2319
return this.sql.
DATEPART
("MINUTE", exp);
2324
return this.sql.
DATEPART
("HOUR", exp);