Hi Everyone,
I created a Class Library named Repository and which includes LINQ To SQL file which stores a ORM of SQL Server Database, besides that I also created another Class Library named Services which has the reference of the Repository class library and I want to use the LINQ to SQL file locating in Repository in Services but I can't see the Extension Methods but I can create an instance of the LinqToSQL in Services.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Repository; // This is the referred class library
namespace Core {
class BugListService {
BBDatabaseDataContext dbContext = new BBDatabaseDataContext();
public int CreateBug(BugList bug) {
dbContext.BugLists. // <= The extension methods don't appear in intellisense
}
}
}