C# Class VelocityDBExtensions.ImportExportCsv

Afficher le fichier Open project: VelocityDB/VelocityDB

Méthodes publiques

Méthode Description
ExportToCSV ( this session, string directory ) : void

Export all persistent objects to .csv files, one file for each Type and version of Type. This is preview release, format may change. ImportFromCSV can be used to recreate your data. Note that Microsoft Excel can't handle many of these CSV files due to a field value limitation (at about 33000 chars) Notepad++ is one application that can read these files. Some fields like array data are encoded http://msdn.microsoft.com/en-us/library/dhx0d524(v=vs.110).aspx

ImportFromCSV ( this session, string csvDirectory ) : void

Restores database files, pages and objects from a .csv file data created with ExportToCSV

Method Details

ExportToCSV() static public méthode

Export all persistent objects to .csv files, one file for each Type and version of Type. This is preview release, format may change. ImportFromCSV can be used to recreate your data. Note that Microsoft Excel can't handle many of these CSV files due to a field value limitation (at about 33000 chars) Notepad++ is one application that can read these files. Some fields like array data are encoded http://msdn.microsoft.com/en-us/library/dhx0d524(v=vs.110).aspx
static public ExportToCSV ( this session, string directory ) : void
session this the active session
directory string Where to store the CSV files
Résultat void

ImportFromCSV() static public méthode

Restores database files, pages and objects from a .csv file data created with ExportToCSV
static public ImportFromCSV ( this session, string csvDirectory ) : void
session this the active session
csvDirectory string Path to directory containing CSV files
Résultat void