HCL Technologies Interview Question

To write a function in entity framework