21 instantiations of SqlVariable
System.Data.Linq (21)
SqlClient\Common\SqlFactory.cs (3)
192
new
SqlVariable
(typeof(void), null, partName, expr.SourceExpression),
210
new
SqlVariable
(typeof(void), null, partName, sourceExpression),
228
new
SqlVariable
(typeof(void), null, partName, sourceExpression),
SqlClient\Query\QueryConverter.cs (6)
699
SqlExpression datetime2 = new
SqlVariable
(expr.ClrType, expr.SqlType, "DATETIME2", expr.SourceExpression);
2519
return new
SqlVariable
(id.Type, sql.Default(id), "@id", this.dominatingExpression);
2527
return new
SqlVariable
(typeof(decimal), typeProvider.From(typeof(decimal)), "SCOPE_IDENTITY()", this.dominatingExpression);
2530
return new
SqlVariable
(typeof(decimal), typeProvider.From(typeof(decimal)), "@@IDENTITY", this.dominatingExpression);
2549
return new
SqlVariable
(typeof(decimal), typeProvider.From(typeof(decimal)), "@@ROWCOUNT", this.dominatingExpression);
2552
return new
SqlVariable
(typeof(decimal), typeProvider.From(typeof(decimal)), "@ROWCOUNT", this.dominatingExpression);
SqlClient\Query\SqlMethodCallConverter.cs (12)
739
SqlExpression datetime = new
SqlVariable
(typeof(void), null, "DATETIME", source);
826
SqlExpression datetimeoffset = new
SqlVariable
(typeof(void), null, "DATETIMEOFFSET", source);
1019
SqlExpression unit = new
SqlVariable
(typeof(void), null, datePart, source);
1294
SqlExpression day = new
SqlVariable
(typeof(void), null, "DAY", bo.SourceExpression);
1295
SqlExpression ms = new
SqlVariable
(typeof(void), null, "MILLISECOND", bo.SourceExpression);
1314
SqlExpression day = new
SqlVariable
(typeof(void), null, "DAY", bo.SourceExpression);
1315
SqlExpression ms = new
SqlVariable
(typeof(void), null, "MILLISECOND", bo.SourceExpression);
1316
SqlExpression us = new
SqlVariable
(typeof(void), null, "MICROSECOND", bo.SourceExpression);
1317
SqlExpression ns = new
SqlVariable
(typeof(void), null, "NANOSECOND", bo.SourceExpression);
2185
SqlExpression date = new
SqlVariable
(typeof(void), null, "DATE", source);
2210
SqlExpression datetime = new
SqlVariable
(typeof(void), null, "DATETIME", source);
2234
sql.Add(new
SqlVariable
(typeof(int), sql.Default(typeof(int)), "@@DATEFIRST", source), 6)
8 references to SqlVariable
System.Data.Linq (8)
SqlClient\Common\SqlVisitor.cs (2)
185
result = this.VisitVariable((
SqlVariable
)node);
535
internal virtual SqlExpression VisitVariable(
SqlVariable
v) {
SqlClient\Query\SqlComparer.cs (4)
196
SqlVariable
v1 = (
SqlVariable
)node1;
197
SqlVariable
v2 = (
SqlVariable
)node2;
SqlClient\Query\SqlDuplicator.cs (1)
351
internal override SqlExpression VisitVariable(
SqlVariable
v) {
SqlClient\Query\SqlFormatter.cs (1)
1209
internal override SqlExpression VisitVariable(
SqlVariable
v) {