fixes for SQL CE

SQL CE fixes, empty parameters and fixes related with provider factory