demoModel.demoEntities project = new demoModel.demoEntities(); //MSSQL query string esqlQuery = @"SELECT tbl.<select_list> FROM <table_name> AS tbl"; foreach (System.Data.Common.DbDataRecord a in new System.Data.Objects.ObjectQuery<System.Data.Common.DbDataRecord>(esqlQuery, project)) { //some code here }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)