entity framework partially implemented