Пример #1
0
        public void Save(IPersistStream stream)
        {
            if (_resources.Count > 0)
            {
                string json = JsonConvert.SerializeObject(_resources);

                stream.SaveEncrypted("data", json);
            }
        }
Пример #2
0
        public void Save(IPersistStream stream)
        {
            stream.SaveEncrypted("connectionstring", this.ConnectionString);

            /*
             * foreach(IDatasetElement element in _layers)
             * {
             *  if(element is IFeatureLayer)
             *      stream.Save("IFeatureLayer",element);
             * }
             * */
        }
Пример #3
0
 public void Save(IPersistStream stream)
 {
     stream.SaveEncrypted("connectionstring", this.ConnectionString);
 }
Пример #4
0
 public void Save(IPersistStream stream)
 {
     stream.SaveEncrypted("connectionstring", _connectionString);
     //this.Open();
 }