A Factory an Repository Design Pattern Driven Implementation to Inquire Entity Framework 6.0