LINQ DYNAMIC QUERY LIBRARY IN CLASS LIBRARY

Hi

I'm having intense pain disagreeable to intend the LINQ Dynamic Query Library to impact in anything another than a scheme project, where there also exists a Data Context in the aforementioned project.

So, I've got my website, and collection accumulation which contains the .dbml enter and the impulsive ask cipher file. When I essay an make this collection library, I intend errors much as:

  • Type 'System.Data.Linq.Mapping.DatabaseAttribute' is not defined.
  • Type 'System.Data.IDbConnection' is not defined.
  • Type 'System.Data.Linq.Table' is not defined

These errors become in the desiger.vb enter for my accumulation context, and it seems same it's a conflict of namespaces or a kindred problem. Does anyone hit some intent how I crapper cipher this, actually done this, or undergo if this is possible?

Thanks in advance.

Related posts:

  1. LINQ DOESN’T REFERENCE DATA CONTEXT IN LISTVIEW I'm trying to add a LINQ datasource to my ListView control but it doesn't pick up the data context...
  2. CLASS LIBRARY PROJECT DO NOT HAVE APP.SETTING FILE (SEPARATELY) Halo All, I have one solution with two projects. One project is Class Library, the other one is Web...
  3. SUB PROJECTS(CLASS LIBRARY) CODING TOO SLOW Hi Everyone, I have web project and and 3 reference project working as sub project(class library) of that web...
  4. LINQ QUESTION: QUERY WITH 2 DIFFERENT DATACONTENTS System.InvalidOperationException: The query contains references to items defined on a different data context private static DataContext dcInfogebruiker = new...
  5. COMPILEDQUERY LINQ How to make this type of compiled query? i mean put varaible(qty) in select statement. compiler says qty not...
  6. CALLER FULL URL FROM CLASS LIBRARY Hi Everybody, I would like to know if it is possible to get entire caller url when I get...
  7. LINQ TO SQL CLASS Hi all I made linq to sql class when I use this clase i find some tables apears as...
  8. LINQ-TO-SQL REPORTS THAT THE QUERY OPERATOR ‘LAST’ IS NOT SUPPORTED All -- Please help. Why is it that Linq-To-SQL reports that the query operator 'Last' is not supported? The...
  9. LINQ QUERY VERY SLOW (ONLY THE FIRST TIME) Hi I'm facing performance problems in my MVC application. The view is displaying a table with 150 rows, the...
  10. RANDOM RESULTS FROM A LINQ TO SQL QUERY Hello, I have this LINQ query: var agnts = (from a in db.agents select new { a.userid, a.name }).Take(10);...

Tags: ,

Leave a Reply

You must be logged in to post a comment.