14 references to TypeProvider
System.Data.Linq (14)
SqlClient\Query\LongTypeConverter.cs (1)
48
ProviderType newType = sql.
TypeProvider
.GetBestLargeType(expr.SqlType);
SqlClient\Query\MethodCallConverter.cs (1)
303
SqlDiscriminatorOf discriminatorOf = new SqlDiscriminatorOf(mc.Object, discriminatorType, this.sql.
TypeProvider
.From(discriminatorType), mc.SourceExpression);
SqlClient\Query\QueryConverter.cs (2)
670
b.Type, sql.
TypeProvider
.From(b.Type),
713
type, sql.
TypeProvider
.From(type),
SqlClient\Query\SqlBinder.cs (1)
110
this.typeProvider = sqlFactory.
TypeProvider
;
SqlClient\Query\SqlBooleanizer.cs (1)
41
valueExpression.ClrType, sql.
TypeProvider
.From(typeof(bool)),
SqlClient\Query\SqlMethodCallConverter.cs (3)
1217
providerType = sql.
TypeProvider
.From(targetType, 1);
1261
if (sql.
TypeProvider
.From(targetType) != expr.SqlType ||
1267
if (sql.
TypeProvider
.From(targetType) != expr.SqlType) {
SqlClient\Query\SqlTypeConverter.cs (5)
65
bool result = oldSqlType.IsSameTypeFamily(sql.
TypeProvider
.From(typeof(string)))
66
&& newSqlType.IsSameTypeFamily(sql.
TypeProvider
.From(typeof(string)));
94
uo.SetSqlType(sql.
TypeProvider
.From(uo.ClrType, oldSqlType.HasSizeOrIsLarge ? oldSqlType.Size : (int?)null));
101
return sql.FunctionCall(newClrType, sql.
TypeProvider
.From(typeof(int)), "UNICODE", new SqlExpression[] { uo.Operand }, uo.SourceExpression);
112
uo.SetSqlType(sql.
TypeProvider
.From(uo.ClrType, oldSqlType.HasSizeOrIsLarge ? oldSqlType.Size : (int?)null));