EntityConnection conn = new EntityConnection(Connstring); conn.Open(); PIAEntity context = new PIAEntity(conn); context.CommandTimeout = 6000; //var sequenceQueryResult = context.ExecuteStoreQuery(strQuery, null); //object lists = context.ExecuteStoreQuery<object>(strQuery); //List<PIAEntity> list = context.ExecuteStoreQuery<PIAEntity>(strQuery).ToList(); dgvResults.DataSource = list;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)