C# Class VelocityDBExtensions.ImportExportCsv

ファイルを表示 Open project: VelocityDB/VelocityDB

Public Methods

Method 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 method

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
return void

ImportFromCSV() static public method

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
return void