48 references to Multiply
System.Data.Linq (48)
SqlClient\Query\SqlMethodCallConverter.cs (48)
869SqlExpression TicksFromHours = sql.Multiply(hours, TimeSpan.TicksPerHour); 870SqlExpression TicksFromMinutes = sql.Multiply(minutes, TimeSpan.TicksPerMinute); 871SqlExpression TicksFromSeconds = sql.Multiply(seconds, TimeSpan.TicksPerSecond); 879SqlExpression TicksFromDays = sql.Multiply(days, TimeSpan.TicksPerDay); 880SqlExpression TicksFromHours = sql.Multiply(hours, TimeSpan.TicksPerHour); 881SqlExpression TicksFromMinutes = sql.Multiply(minutes, TimeSpan.TicksPerMinute); 882SqlExpression TicksFromSeconds = sql.Multiply(seconds, TimeSpan.TicksPerSecond); 891SqlExpression ticksFromMs = sql.Multiply(milliseconds, TimeSpan.TicksPerMillisecond); 1071sql.Multiply( 1073sql.Multiply(sql.ConvertToBigint(hh), 3600000), 1074sql.Multiply(sql.ConvertToBigint(mm), 60000), 1075sql.Multiply(sql.ConvertToBigint(ss), 1000) 1097SqlExpression ms = sql.Multiply(mc.Arguments[0], 1000); 1101SqlExpression ms = sql.Multiply(mc.Arguments[0], 60000); 1105SqlExpression ms = sql.Multiply(mc.Arguments[0], 3600000); 1109SqlExpression ms = sql.Multiply(mc.Arguments[0], 86400000); 1130sql.Multiply( 1132sql.Multiply(sql.ConvertToBigint(hh), 3600000), 1133sql.Multiply(sql.ConvertToBigint(mi), 60000), 1134sql.Multiply(sql.ConvertToBigint(ss), 1000) 1156SqlExpression ms = sql.Multiply(mc.Arguments[0], 1000); 1160SqlExpression ms = sql.Multiply(mc.Arguments[0], 60000); 1164SqlExpression ms = sql.Multiply(mc.Arguments[0], 3600000); 1168SqlExpression ms = sql.Multiply(mc.Arguments[0], 86400000); 1305SqlExpression result = sql.Multiply(sql.Add(sql.Multiply(sql.ConvertToBigint(intDays), 86400000), intMSec), 10000); // 1 millisecond = 10000 ticks 1331sql.Multiply(intUSec, 10), 1332sql.Multiply( 1334sql.Multiply(sql.ConvertToBigint(intDays), 86400000), 1352sql.Multiply( 1354sql.Multiply(sql.ConvertToBigint(hh), 3600000), 1355sql.Multiply(sql.ConvertToBigint(mi), 60000), 1356sql.Multiply(sql.ConvertToBigint(ss), 1000) 2106SqlExpression twiceX = sql.Multiply(x, 2); 2109SqlExpression specialCase = sql.Multiply(sql.FunctionCall(type, "round", new SqlExpression[] { sql.Divide(x, 2), i }, source), 2); 2219SqlExpression ticksFromHour = sql.Multiply(sql.ConvertToBigint(hours), TimeSpan.TicksPerHour); 2220SqlExpression ticksFromMinutes = sql.Multiply(sql.ConvertToBigint(minutes), TimeSpan.TicksPerMinute); 2221SqlExpression ticksFromSeconds = sql.Multiply(sql.ConvertToBigint(seconds), TimeSpan.TicksPerSecond); 2222SqlExpression ticksFromMs = sql.Multiply(sql.ConvertToBigint(milliseconds), TimeSpan.TicksPerMillisecond); 2246this.sql.Multiply(sql.ConvertToBigint(sql.DATEPART("HOUR", exp)), 3600000000000), 2247this.sql.Multiply(sql.ConvertToBigint(sql.DATEPART("MINUTE", exp)), 60000000000), 2248this.sql.Multiply(sql.ConvertToBigint(sql.DATEPART("SECOND", exp)), 1000000000), 2258this.sql.Multiply(sql.DATEPART("HOUR", exp), 3600000), 2259this.sql.Multiply(sql.DATEPART("MINUTE", exp), 60000), 2260this.sql.Multiply(sql.DATEPART("SECOND", exp), 1000), 2268this.sql.Multiply(sql.DATEPART("HOUR", exp), 3600), 2269this.sql.Multiply(sql.DATEPART("MINUTE", exp), 60), 2278this.sql.Multiply(sql.DATEPART("HOUR", exp), 60),