Basic Programming Examples
Thursday, July 4, 2013
C#: Search for a specific object
To get the object by its Id;
Data.
Employee
emp = BusinessLogic.
AttendanceApp
.Employees.ToList<Data.
Employee
>().Find(e => e.IdNumber.Equals(IdNumber));
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment