Skip to content

Commit 03034e6

Browse files
committed
Updated a comment.
1 parent 5e3a93c commit 03034e6

File tree

1 file changed

+1
-1
lines changed
  • SimpleTaskSystem/SimpleTaskSystem.Infrastructure.EntityFramework/EntityFramework/Repositories

1 file changed

+1
-1
lines changed

SimpleTaskSystem/SimpleTaskSystem.Infrastructure.EntityFramework/EntityFramework/Repositories/TaskRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public List<Task> GetAllWithPeople(int? assignedPersonId, TaskState? state)
1616

1717
var query = GetAll(); //GetAll() returns IQueryable<T>, so we can query over it.
1818
//var query = Context.Tasks.AsQueryable(); //Alternatively, we can directly use EF's DbContext object.
19-
//var query = Table.AsQueryable(); //Another alternative: We can directly 'Table' property instead of 'Context.Tasks', they are identical.
19+
//var query = Table.AsQueryable(); //Another alternative: We can directly use 'Table' property instead of 'Context.Tasks', they are identical.
2020

2121
//Add some Where conditions...
2222

0 commit comments

Comments
 (0)