Connecting it to entity framework