I need the code for creating the repository class in case of entity framework : What methods I need : 

1) performing all CRUD operations . 
2) retrieving data from two or more tables which may or may not present in the database . 
3) able to perform transactions
