Returns an object that represents the specified list and is queryable by LINQ (Language Integrated Query).
Assembly: Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)
The T parameter is defined by a class that is mapped to the list items.
You cannot create a second EntityList<TEntity> object with the same name and T value as one that already exists. But you can have two “Customers” lists if one has list items of type “LocalCustomer” and the other has list items of type “InternationalCustomer” You can also have two lists with the same type of list item, such as “Customer”, provided that they have different names; say “CurrentCustomers” and “InactiveCustomers.”