Tests.EmployeeRepositoryEF_Intermediate_NoTrack.GetAll C# (CSharp) 메소드

GetAll() 공개 메소드

public GetAll ( ) : IList
리턴 IList
        public IList<Employee> GetAll()
        {
            using (var context = new CodeFirstModels())
            {
                return context.Employees.AsNoTracking().ToList();
            }
        }