'Keyless entity model in Entity Framework (6.1.3)

Is there any way to make an entity keyless? It is possible on newer version of Entity Framework Core with attribute [Keyless] , but I needed it to work on older versions. Is there any way we can update it through fluent api?



Solution 1:[1]

No. But if you don't update the entity, you can declare the entity key to be whatever you want.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 David Browne - Microsoft