ImportExportCsvExportToCSV 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
Namespace:
VelocityDBExtensions
Assembly:
VelocityDBExtensions (in VelocityDBExtensions.dll) Version: 11.1.0.0 (11.1.0)
Syntax public static void ExportToCSV(
this SessionBase session,
string directory
)
<ExtensionAttribute>
Public Shared Sub ExportToCSV (
session As SessionBase,
directory As String
)
public:
[ExtensionAttribute]
static void ExportToCSV(
SessionBase^ session,
String^ directory
)
[<ExtensionAttribute>]
static member ExportToCSV :
session : SessionBase *
directory : string -> unit
Parameters
- session
- Type: VelocityDb.SessionSessionBase
the active session - directory
- Type: SystemString
Where to store the CSV files
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SessionBase. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also