Exemple #1
0
        public SqlServerToSqlCeConverter(string configurationFileName)
        {
            StreamReader sr  = new StreamReader(configurationFileName);
            string       xml = sr.ReadToEnd();

            sr.Close();
            SqlServerToSqlCeConfiguration config = xml.Deserialize <SqlServerToSqlCeConfiguration>();

            File.Delete(config.SqlCeFileName);
            this.Configuration = config;
        }
Exemple #2
0
 public SqlServerToSqlCeConverter(SqlServerToSqlCeConfiguration configuration)
 {
     this.Configuration = configuration;
 }