English 中文(简体)
Linq intellisense 失踪
原标题:Linq intellisense Missing on EF Object

I m facing a strange type of issue.

In my VS Solution I have 3 projects.

  1. ASP.Net App
  2. C# Class Library (Used as my DAL and contains a EF .edmx file.
  3. Windows Service App

伙伴关系。 网上应用可以精选地查阅欧洲复兴开发银行模式,我可以使用传统的Linq或Lambda .First()等。 一切产品都进行罚款。

On my Windows Service App, I ve added a reference to the DAL DLL , but for some reason, the Intellisense does not show up when I type in any code files in the windows service library. Example of my code below :

using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;

namespace alertservice
{    
    class AlertPolling
    {
        dal.applicationEntities ent;
        public AlertPolling()
        {
            ent = new dal.applicationEntities();
            ent.Queries.   // <--- ZERO INTELLISENSE HAPPENING HERE.
        }
        public void StartPolling()
        {      
        }
    }
}
最佳回答

Thanks。 我通过听取口头评论来解决这个问题。

我又提到了该系统。 固定数据。 英特尔利斯群岛现在即将到来。

问题回答

暂无回答




相关问题
IEnumerable to array of parameter

Using linq? and XML is there a way to convert this IEnumerable to a string array of the value parameter? List<string> idList = new List<string>(); foreach (XElement idElement in word....

linq query for tag system - search for multiple tags

I have two tables, Tags(tagid, postid, tagname) and posts(postid, name, ...) now i want to make a query that returns me all posts that have a generic amount of tags. like: i want all posts that have ...

Linq operations against a List of Hashtables?

I m working with a set of legacy DAO code that returns an IList, where each Hashtable represents the row of a dynamically executed SQL query. For example, the List might contain the following records/...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

How to filter duplicate list items

i have list of items IList with data that looks list this: GenId TestMode 1 0 1 1 3 0 3 1 4 NULL 2 NULL i want to remove the index ...

C# Grouping/Sorting a Generic List<> using LINQ

Im looking to group and sort a Generic List<>. I have a list of objects representing files and each of these objects has a FileName, FileType and FileDate property. FileType is defined as an ...

热门标签