FileHelperAsyncEngineT Methods |
The FileHelperAsyncEngineT generic type exposes the following members.
| Name | Description | |
|---|---|---|
| BeginAppendToFile(String) |
Begin the append to an existing file
| |
| BeginAppendToFile(String, Int32) |
Open a file to Append to the end.
| |
| BeginReadFile(String) |
Open a specified file and seek to the first record.
| |
| BeginReadFile(String, Int32) |
Open a specified file and seek to the first record.
| |
| BeginReadStream |
Open a specified stream and seek to the first record.
| |
| BeginReadString | ||
| BeginWriteFile(String) |
Open a file to write it.
If the file exists the engine will over write it
| |
| BeginWriteFile(String, Int32) |
Open a file to write it.
If the file exists the engine will over write it
| |
| BeginWriteStream |
Set the stream to be used in the WriteNext(T) operation.
| |
| Close |
Close all opened stream readers and writers (if any).
| |
| Flush |
Save all the buffered data for write to the disk.
Useful to opened async engines that wants to save pending values to
disk or for engines used for logging.
| |
| GetFileHeader |
Builds a line with the name of the fields, for a delimited files it
uses the same delimiter, for a fixed length field it writes the
fields names separated with tabs
(Inherited from EngineBase.) | |
| ReadNext |
Reads the next record of a file.
| |
| ReadNexts |
Reads the specified number of records from a file or stream opened before.
| |
| ReadToEnd |
Return array of object for all data to end of the file
| |
| WriteNext |
Write the next record to a file or stream opened.
| |
| WriteNexts |
Write the next records to a file or stream opened.
| |
| WriteNextValues |
Write the current record values in the buffer. You can use
engine[0] or engine["YourField"] to set the values.
|