15 references to SetSqlType
System.Data.Linq (15)
SqlClient\Query\QueryConverter.cs (2)
1231typeExpression.SetSqlType(providerType); 2674v.SetSqlType(mc.Arguments[0].SqlType);
SqlClient\Query\SqlParameterizer.cs (1)
228node.SetSqlType(newType);
SqlClient\Query\SqlRetyper.cs (10)
33uo.SetSqlType(this.typeProvider.PredictTypeForUnary(uo.NodeType, uo.Operand.SqlType)); 86bo.SetSqlType(typeProvider.PredictTypeForBinary(bo.NodeType, left.SqlType, right.SqlType)); 102valueToRetype.SetSqlType(valueToRetype.SqlType.GetNonUnicodeEquivalent()); 145pattern.SetSqlType(pattern.SqlType.GetNonUnicodeEquivalent()); 152ss.SetSqlType(ss.Select.Selection.SqlType); 218fc.SetSqlType(newType); 236cp.SetSqlType(arg1.SqlType); 283simpleExpression.SetSqlType(sqlType); 296((SqlClientParameter)arg2).SetSqlType(arg1.SqlType); 299((SqlClientParameter)arg1).SetSqlType(arg2.SqlType);
SqlClient\Query\SqlTypeConverter.cs (2)
94uo.SetSqlType(sql.TypeProvider.From(uo.ClrType, oldSqlType.HasSizeOrIsLarge ? oldSqlType.Size : (int?)null)); 112uo.SetSqlType(sql.TypeProvider.From(uo.ClrType, oldSqlType.HasSizeOrIsLarge ? oldSqlType.Size : (int?)null));