Base:
property
SqlType
System.Data.Linq.SqlClient.SqlExpression.SqlType
78 references to SqlType
System.Data.Linq (78)
SqlClient\Common\SqlNode.cs (1)
1901
: base(SqlNodeType.ClientQuery, subquery.ClrType, subquery.
SqlType
, subquery.SourceExpression) {
SqlClient\Query\MethodCallConverter.cs (1)
165
SqlValue emptyStr = new SqlValue(strValue.ClrType, strValue.
SqlType
, String.Empty, strValue.IsClientSpecified, strValue.SourceExpression);
SqlClient\Query\SqlBinder.cs (13)
215
return VisitUnaryOperator(new SqlUnary(negator, bo.ClrType, bo.
SqlType
, sql.DoNotVisitExpression(bo.Right), bo.SourceExpression));
224
return VisitUnaryOperator(new SqlUnary(negator, bo.ClrType, bo.
SqlType
, sql.DoNotVisitExpression(bo.Left), bo.SourceExpression));
549
new SqlUnary(uo.NodeType, uo.ClrType, uo.
SqlType
,
550
new SqlUnary(SqlNodeType.OuterJoinedValue, ov.ClrType, ov.
SqlType
, ov.HasValue, ov.SourceExpression)
556
return new SqlUnary(uo.NodeType, uo.ClrType, uo.
SqlType
,
572
return sql.Value(typeof(bool), val.
SqlType
, !(bool)val.Value, val.IsClientSpecified, val.SourceExpression);
591
return sql.Value(uo.ClrType, uo.
SqlType
, DBConvert.ChangeType(val.Value, uo.ClrType), val.IsClientSpecified, val.SourceExpression);
638
SqlUnary un = new SqlUnary(uo.NodeType, uo.ClrType, uo.
SqlType
, when.TypeBinding, when.TypeBinding.SourceExpression);
849
if (!sn.
SqlType
.CanBeColumn && mm != null) {
916
return sql.Value(m.ClrType, m.
SqlType
, null, val.IsClientSpecified, m.SourceExpression);
920
return sql.Value(m.ClrType, m.
SqlType
, p.GetValue(val.Value, null), val.IsClientSpecified, m.SourceExpression);
924
return sql.Value(m.ClrType, m.
SqlType
, f.GetValue(val.Value), val.IsClientSpecified, m.SourceExpression);
943
return new SqlClientParameter(m.ClrType, m.
SqlType
, accessor, cp.SourceExpression);
SqlClient\Query\SqlComparer.cs (2)
97
return sun1.ClrType == sun2.ClrType && sun1.
SqlType
== sun2.
SqlType
&& AreEqual(sun1.Operand, sun2.Operand);
SqlClient\Query\SqlDuplicator.cs (24)
84
return new SqlRowNumber(rowNumber.ClrType, rowNumber.
SqlType
, orderBy, rowNumber.SourceExpression);
89
return new SqlBinary(bo.NodeType, bo.ClrType, bo.
SqlType
, left, right, bo.Method);
103
return new SqlJoinedCollection(jc.ClrType, jc.
SqlType
, this.VisitExpression(jc.Expression), this.VisitExpression(jc.Count), jc.SourceExpression);
110
return new SqlClientArray(scar.ClrType, scar.
SqlType
, exprs, scar.SourceExpression);
129
return new SqlNew(sox.MetaType, sox.
SqlType
, sox.Constructor, args, sox.ArgMembers, bindings, sox.SourceExpression);
136
SqlLink newLink = new SqlLink(new object(), link.RowType, link.ClrType, link.
SqlType
, null, link.Member, exprs, null, link.SourceExpression);
163
return new SqlSubSelect(sqlExpr.NodeType, sqlExpr.ClrType, sqlExpr.
SqlType
, (SqlSelect)this.Visit(sqlExpr.Select));
182
return new SqlMember(m.ClrType, m.
SqlType
, (SqlExpression)this.Visit(m.Expression), m.Member);
188
return new SqlSubSelect(sms.NodeType, sms.ClrType, sms.
SqlType
, (SqlSelect)this.Visit(sms.Select));
191
SqlParameter n = new SqlParameter(p.ClrType, p.
SqlType
, p.Name, p.SourceExpression);
203
return new SqlSubSelect(SqlNodeType.ScalarSubSelect, ss.ClrType, ss.
SqlType
, this.VisitSequence(ss.Select));
261
SqlUserColumn dupSuc = new SqlUserColumn(suc.ClrType, suc.
SqlType
, suc.Query, suc.Name, suc.IsRequired, suc.SourceExpression);
285
return new SqlUserColumn(suc.ClrType, suc.
SqlType
, suc.Query, suc.Name, suc.IsRequired, suc.SourceExpression);
288
return new SqlUserRow(row.RowType, row.
SqlType
, (SqlUserQuery)this.Visit(row.Query), row.SourceExpression);
291
return new SqlUnary(SqlNodeType.Treat, t.ClrType, t.
SqlType
, (SqlExpression)this.Visit(t.Operand), t.SourceExpression);
294
return new SqlUnary(uo.NodeType, uo.ClrType, uo.
SqlType
, (SqlExpression)this.Visit(uo.Operand), uo.Method, uo.SourceExpression);
362
between.
SqlType
,
371
SqlIn nin = new SqlIn(sin.ClrType, sin.
SqlType
, this.VisitExpression(sin.Expression), sin.Values, sin.SourceExpression);
379
like.ClrType, like.
SqlType
,
391
return new SqlFunctionCall(fc.ClrType, fc.
SqlType
, fc.Name, args, fc.SourceExpression);
398
SqlTableValuedFunctionCall nfc = new SqlTableValuedFunctionCall(fc.RowType, fc.ClrType, fc.
SqlType
, fc.Name, args, fc.SourceExpression);
410
return new SqlMethodCall(mc.ClrType, mc.
SqlType
, mc.Method, this.VisitExpression(mc.Object), args, mc.SourceExpression);
429
SqlGrouping n = new SqlGrouping(g.ClrType, g.
SqlType
,
441
return new SqlDiscriminatorOf(this.VisitExpression(dof.Object), dof.ClrType, dof.
SqlType
, dof.SourceExpression);
SqlClient\Query\SqlExpander.cs (2)
83
return new SqlLink(link.Id, link.RowType, link.ClrType, link.
SqlType
, link.Expression, link.Member, exprs, expansion, link.SourceExpression);
269
return new SqlLink(links[0].Id, links[0].RowType, links[0].ClrType, links[0].
SqlType
, links[0].Expression, links[0].Member, kexprs, expansion, links[0].SourceExpression);
SqlClient\Query\SqlFormatter.cs (3)
166
this.sb.Append(uo.
SqlType
.ToQueryString(options));
292
sb.Append(c.
SqlType
.ToQueryString(options));
301
this.FormatType(t.
SqlType
);
SqlClient\Query\SqlMethodCallConverter.cs (7)
170
&& mc.
SqlType
.CanBeColumn
657
return sql.ConvertTo(newType, uo.
SqlType
, expr);
908
if (mc.
SqlType
.CanBeColumn && mc.Arguments[0].SqlType.CanBeColumn) {
1518
cp.ClrType, cp.
SqlType
,
1552
cp.ClrType, cp.
SqlType
,
1586
cp.ClrType, cp.
SqlType
,
2485
cp.ClrType, cp.
SqlType
,
SqlClient\Query\SqlMethodTransformer.cs (1)
40
Type clrType = resultFunctionCall.
SqlType
.GetClosestRuntimeType();
SqlClient\Query\SqlMultiplexer.cs (2)
68
SqlJoinedCollection jc = new SqlJoinedCollection(sms.ClrType, sms.
SqlType
, expr, count, sms.SourceExpression);
258
return new SqlLink(new object(), link.RowType, link.ClrType, link.
SqlType
, null, link.Member, exprs, null, link.SourceExpression);
SqlClient\Query\SqlParameterizer.cs (7)
116
p = new SqlParameter(cp.ClrType, cp.
SqlType
, this.parameterizer.CreateParameterName(), cp.SourceExpression);
223
if (!node.
SqlType
.IsLargeType) {
226
ProviderType newType = this.parameterizer.typeProvider.GetBestLargeType(node.
SqlType
);
227
if (node.
SqlType
!= newType) {
281
if (this.topLevel || !value.IsClientSpecified || !value.
SqlType
.CanBeParameter) {
290
if (cp.
SqlType
.CanBeParameter) {
291
SqlParameter p = new SqlParameter(cp.ClrType, cp.
SqlType
, this.parameterizer.CreateParameterName(), cp.SourceExpression);
SqlClient\Query\SqlRetyper.cs (5)
68
return VisitBinaryOperator(new SqlBinary(bo.NodeType, bo.ClrType, bo.
SqlType
, conv.Operand, bo.Right));
75
return VisitBinaryOperator(new SqlBinary(bo.NodeType, bo.ClrType, bo.
SqlType
, bo.Left, conv.Operand));
102
valueToRetype.SetSqlType(valueToRetype.
SqlType
.GetNonUnicodeEquivalent());
145
pattern.SetSqlType(pattern.
SqlType
.GetNonUnicodeEquivalent());
318
ProviderType newSqlType = typeProvider.ChangeTypeFamilyTo(value.
SqlType
, expression.SqlType);
SqlClient\Query\SqlTopReducer.cs (1)
33
select.Top = sql.Value(val.ClrType, val.
SqlType
, val.Value, false, val.SourceExpression);
SqlClient\Query\SqlTypeConverter.cs (1)
77
ProviderType newSqlType = uo.
SqlType
;
SqlClient\Query\Translator.cs (3)
64
object code = InheritanceRules.InheritanceCodeForClientCompare(type.InheritanceCode, dm.
SqlType
);
268
result = new SqlSubSelect(SqlNodeType.Multiset, link.ClrType, link.
SqlType
, sel);
271
result = new SqlSubSelect(SqlNodeType.Element, link.ClrType, link.
SqlType
, sel);
SqlClient\Reader\ObjectReaderCompiler.cs (3)
888
return this.GenerateMethodCall(new SqlMethodCall(m.ClrType, m.
SqlType
, pi.GetGetMethod(), m.Expression, null, m.SourceExpression));
1805
this.GenerateColumnAccess(suc.ClrType, suc.
SqlType
, 0, null);
1828
this.GenerateColumnAccess(suc.ClrType, suc.
SqlType
, 0, locOrdinal);
SqlClient\SqlProvider.cs (2)
1202
this.typeProvider.InitializeParameter(pi.Parameter.
SqlType
, p, value);
1205
this.typeProvider.InitializeParameter(pi.Parameter.
SqlType
, p, null);