9 references to ConvertTo
System.Data.Entity (9)
System\Data\SqlClient\SqlTypesAssembly.cs (9)
191
this.sqlBooleanToBoolean = Expressions.Lambda<object, bool>("sqlBooleanValue", sqlBoolVal => sqlBoolVal.ConvertTo(this.SqlBooleanType).
ConvertTo
<bool>()).Compile();
197
.Else(sqlBoolVal.ConvertTo(this.SqlBooleanType).
ConvertTo
<bool>().
ConvertTo
<bool?>())).Compile();
209
this.sqlDoubleToDouble = Expressions.Lambda<object, double>("sqlDoubleValue", sqlDoubleVal => sqlDoubleVal.ConvertTo(this.SqlDoubleType).
ConvertTo
<double>()).Compile();
215
.Else(sqlDoubleVal.ConvertTo(this.SqlDoubleType).
ConvertTo
<double>().
ConvertTo
<double?>())).Compile();
218
this.sqlInt32ToInt = Expressions.Lambda<object, int>("sqlInt32Value", sqlInt32Val => sqlInt32Val.ConvertTo(this.SqlInt32Type).
ConvertTo
<int>()).Compile();
224
.Else(sqlInt32Val.ConvertTo(this.SqlInt32Type).
ConvertTo
<int>().
ConvertTo
<int?>())).Compile();