Posted on: 7/28/2015 3:25:34 PM | Views : 772

Hi,
I have started learning LINQ at work and need to use it.
I have 3 layers -ui,bll and dal.
In my dal I have:
Namespace DataAccess.BackOffice.Products.Operators Public Class OperatorsDAL Private m_db As New ProfilerDataClassesDataContext() #Region "Retrieve" Public Function GetOperatorDetails(ByVal OperatorID As Integer) As ProfilerBO.Operator Dim p = From Operators In m_db.Operators Where Operators.OperatorID = OperatorID Select Operators Return p.First End Function #End Region End Class End Namespace In BLL:
Public Class Operators Private m_OperatorDAL As New DataAccess.BackOffice.Products.Operators.OperatorsDAL() Public Function GetOperatorDetails(ByVal OperatorID As Integer) Return m_OperatorDAL.GetOperatorDetails(OperatorID) End Function End Class Now ...

Go to the complete details ...