1 write to typeProvider
System.Data.Linq (1)
SqlClient\Query\QueryConverter.cs (1)
83this.typeProvider = typeProvider;
31 references to typeProvider
System.Data.Linq (31)
SqlClient\Query\QueryConverter.cs (31)
359var sca = new SqlClientArray(typeof(object[]), this.typeProvider.From(typeof(object[])), args, this.dominatingExpression); 389SqlClientParameter cp = new SqlClientParameter(p.Type, this.typeProvider.From(p.Type), accessor, this.dominatingExpression); 436sql.Value(typeof(int?), this.typeProvider.From(typeof(int)), 1, false, this.dominatingExpression) 552sql.Value(typeof(int?), this.typeProvider.From(typeof(int)), 1, false, this.dominatingExpression) 578select.Selection = new SqlUnary(SqlNodeType.Treat, ofType, typeProvider.From(ofType), aref, this.dominatingExpression); 620result = sql.Unary(SqlNodeType.IsNotNull, new SqlUnary(SqlNodeType.Treat, ofType, typeProvider.From(ofType), expr, this.dominatingExpression), this.dominatingExpression); 640return new SqlUnary(SqlNodeType.Treat, a.Type, typeProvider.From(a.Type), expr, a); 645return new SqlUnary(SqlNodeType.Treat, a.Type, typeProvider.From(a.Type), ms, a); 722return sql.UnaryConvert(type, typeProvider.From(type), expr, expr.SourceExpression); 734return new SqlUnary(SqlNodeType.Treat, type, typeProvider.From(type), expr, expr.SourceExpression); 758ProviderType sfromType = typeProvider.From(nnFromType); 759ProviderType stoType = typeProvider.From(nnToType); 1197SqlUserRow rowExp = new SqlUserRow(rowType, this.typeProvider.GetApplicationType((int)ConverterSpecialTypes.Row), spc, mce); 1230ProviderType providerType = typeProvider.Parse(currMetaParam.DbType); 1253SqlUserColumn col = new SqlUserColumn(elementType, typeProvider.From(elementType), suq, "", false, this.dominatingExpression); 1259SqlUserRow rowExp = new SqlUserRow(mType.InheritanceRoot, this.typeProvider.GetApplicationType((int)ConverterSpecialTypes.Row), suq, this.dominatingExpression); 1488if (!this.typeProvider.From(expression.Body.Type).IsOrderable) { 1511if (!this.typeProvider.From(expression.Body.Type).IsOrderable) { 1593SqlExpression keyGroup = new SqlGrouping(elementType, this.typeProvider.From(elementType), keyExpr, ss, this.dominatingExpression); 1615SqlExpression resultExpr = new SqlGrouping(elementType, this.typeProvider.From(elementType), keyExpr, ss, this.dominatingExpression); 1772ProviderType sqlType = this.typeProvider.From(clrType); 2005? this.typeProvider.Parse(function.ReturnParameter.DbType) 2006: this.typeProvider.From(mc.Method.ReturnType); 2383SqlNodeType subType = (this.typeProvider.From(select.Selection.ClrType).CanBeColumn) ? SqlNodeType.ScalarSubSelect : SqlNodeType.Element; 2527return new SqlVariable(typeof(decimal), typeProvider.From(typeof(decimal)), "SCOPE_IDENTITY()", this.dominatingExpression); 2530return new SqlVariable(typeof(decimal), typeProvider.From(typeof(decimal)), "@@IDENTITY", this.dominatingExpression); 2549return new SqlVariable(typeof(decimal), typeProvider.From(typeof(decimal)), "@@ROWCOUNT", this.dominatingExpression); 2552return new SqlVariable(typeof(decimal), typeProvider.From(typeof(decimal)), "@ROWCOUNT", this.dominatingExpression); 2601new SqlValue(mdm.Type, this.typeProvider.From(mdm.Type), mmi.CurrentValue, true, source), 2687return new SqlClientArray(arr.Type, this.typeProvider.From(arr.Type), exprs, this.dominatingExpression); 2705return new SqlClientArray(list.Type, this.typeProvider.From(list.Type), exprs, this.dominatingExpression);