You can create types from WSDL or from the database using the code generation tool, as integrated into Visual Studio. Type providers do almost the same thing, but integrate this process directly into compilation. This way, you donโt have to worry about type recovery when changing the schema.
Additionally, type providers support this with erasable types that are โvirtualโ types that do not actually exist. This means that instead of generating 500 types and a large assembly, only what is actually used is generated, which means smaller assemblies and support for importing huge and recursive schemas like Freebase
source share