Check out example codes for "downgrading sql localdb visual studio". It will help you in understanding the concepts better.

Code Example 1

remove all databases on and all local Db's in Programs and features 
restart Computer 
install a preferred version

Learn ReactJs, React Native from akashmittal.com