开发者

How to validate a database against an entity model?

开发者 https://www.devze.com 2023-01-05 11:08 出处:网络
I allow users to specify the data source and connection details. When this is complete, I set the Entity connection string. How do I validate the database they have chosen against the entity 开发者_JA

I allow users to specify the data source and connection details. When this is complete, I set the Entity connection string. How do I validate the database they have chosen against the entity 开发者_JAVA技巧model right away? I don't want to get further in the program to have it fail.


Check for the existence of a known table and/or use a version table to store the schema version.

0

精彩评论

暂无评论...
验证码 换一张
取 消