one of my friends send me this example to learn about entity framework
but it always show me the following error: "The underlying provider failed on Open." in this code:
Public Function GetAllDepartments() As IEnumerable(Of Department) Implements IDepartmentRepository.GetA
llDepartme
nts
Return Me.context.Departments.ToL
ist()
End Function
You can find the program in the following link:
http://www.grupossc.com/VB.zip