adding changes to allow use of embedded sql server compact db