Reading the Telerik OpenAccess documentation, I see that I can set the data type of a Domain Class Property to an enumeration I have explicitly coded. Instead of coding them, can I use OpenAccess to generate (and maintain) enumeration types from my tables?

有帮助吗?

解决方案

The Enum generation based on a database table is not supported out of the box by the Telerik OpenAccess ORM but after a short search in Google I found this Blog Post demonstrating how to achieve that by a standalone code generation template.

You could also add a feature request in the Ideas and Feedback portal of OpenAccess ORM for providing this functionality out of the box.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top