C# Класс VelocityDBExtensions.ImportExportCsv

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

ExportToCSV() статический публичный Метод

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
Результат void

ImportFromCSV() статический публичный Метод

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
Результат void