xc_lw2000 wrote:
What's IFieldPersistenceInfo means?How to create it?
You can get the FieldPErsistenceInfo object from the class
PersistenceInfoProviderSingleton.GetInstance
defined in your DbSpecific Project.
This is a firend class, so you need to expose it in some way if you want to use it outside the DBbSpecific project.
I've used the FieldPersistenceInfo for a procedure that check the structure of the DB respect to the structure of the running DAL DLL.
It only check tables name, fields name, and relations; but it's better than nothing, and it's enough to stop the application from starting if the DB is not up to date