質問

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