Eutectic
asked on
LinQ: How to enable ExecuteQuery
I would like to use ExecuteQuery to run a direct query but for some reason it is not an option in the intellisense menu for my BusinessData context. Is there a namespace that I'm missing or could it be the way the BusinessData context is configured? Also, I'm not sure if it makes a difference but I am using Code First Entityframework with an Oracle database.
uiValue = BusinessData.ExecuteQuery< string>(ts ql).First( );
Namespaces included in my class:
using System;
using System.Collections.Generic ;
using System.Linq.Expressions;
using System.Reflection;
using System.Data.Objects.SqlCli ent;
using System.Data;
using System.Data.Objects;
using System.Linq.Dynamic;
using System.Data.Linq.SqlClient ;
using System.Linq;
using System.Web;
using System.Configuration;
using System.Net;
using Newtonsoft.Json;
using System.Web.SessionState;
using System.Text;
using System.Collections.Special ized;
using System.IO;
using System.Data.Entity;
using System.Transactions;
Thanks
uiValue = BusinessData.ExecuteQuery<
Namespaces included in my class:
using System;
using System.Collections.Generic
using System.Linq.Expressions;
using System.Reflection;
using System.Data.Objects.SqlCli
using System.Data;
using System.Data.Objects;
using System.Linq.Dynamic;
using System.Data.Linq.SqlClient
using System.Linq;
using System.Web;
using System.Configuration;
using System.Net;
using Newtonsoft.Json;
using System.Web.SessionState;
using System.Text;
using System.Collections.Special
using System.IO;
using System.Data.Entity;
using System.Transactions;
Thanks
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER