21 references to SqlVariable
System.Data.Linq (21)
SqlClient\Common\SqlFactory.cs (3)
192new SqlVariable(typeof(void), null, partName, expr.SourceExpression), 210new SqlVariable(typeof(void), null, partName, sourceExpression), 228new SqlVariable(typeof(void), null, partName, sourceExpression),
SqlClient\Query\QueryConverter.cs (6)
699SqlExpression datetime2 = new SqlVariable(expr.ClrType, expr.SqlType, "DATETIME2", expr.SourceExpression); 2519return new SqlVariable(id.Type, sql.Default(id), "@id", this.dominatingExpression); 2527return new SqlVariable(typeof(decimal), typeProvider.From(typeof(decimal)), "SCOPE_IDENTITY()", this.dominatingExpression); 2530return new SqlVariable(typeof(decimal), typeProvider.From(typeof(decimal)), "@@IDENTITY", this.dominatingExpression); 2549return new SqlVariable(typeof(decimal), typeProvider.From(typeof(decimal)), "@@ROWCOUNT", this.dominatingExpression); 2552return new SqlVariable(typeof(decimal), typeProvider.From(typeof(decimal)), "@ROWCOUNT", this.dominatingExpression);
SqlClient\Query\SqlMethodCallConverter.cs (12)
739SqlExpression datetime = new SqlVariable(typeof(void), null, "DATETIME", source); 826SqlExpression datetimeoffset = new SqlVariable(typeof(void), null, "DATETIMEOFFSET", source); 1019SqlExpression unit = new SqlVariable(typeof(void), null, datePart, source); 1294SqlExpression day = new SqlVariable(typeof(void), null, "DAY", bo.SourceExpression); 1295SqlExpression ms = new SqlVariable(typeof(void), null, "MILLISECOND", bo.SourceExpression); 1314SqlExpression day = new SqlVariable(typeof(void), null, "DAY", bo.SourceExpression); 1315SqlExpression ms = new SqlVariable(typeof(void), null, "MILLISECOND", bo.SourceExpression); 1316SqlExpression us = new SqlVariable(typeof(void), null, "MICROSECOND", bo.SourceExpression); 1317SqlExpression ns = new SqlVariable(typeof(void), null, "NANOSECOND", bo.SourceExpression); 2185SqlExpression date = new SqlVariable(typeof(void), null, "DATE", source); 2210SqlExpression datetime = new SqlVariable(typeof(void), null, "DATETIME", source); 2234sql.Add(new SqlVariable(typeof(int), sql.Default(typeof(int)), "@@DATEFIRST", source), 6)