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