Amazon Wish List News RSS feed. Development Blog Browse the Forums  
  Overview - Downloads - Examples - News Feed - Contact Info -

MultiRecordEngine Methods

The methods of the MultiRecordEngine class are listed below. For a complete list of MultiRecordEngine class members, see the MultiRecordEngine Members topic.

Public Instance Methods

AppendToFileOverloaded. Append a record to the specified file.
BeginAppendToFileOpen a file to be appended at the end.
BeginReadFile Method used to use this engine in Async mode. Work together with ReadNext. (Remember to call Close after read the data)
BeginReadStream Method used to use this engine in Async mode. Work together with ReadNext. (Remember to call Close after read the data)
BeginReadString Method used to use this engine in Async mode. Work together with ReadNext. (Remember to call Close after read the data)
BeginWriteFileOpen a file for write operations. If exist the engine override it. You can use WriteNext or WriteNexts to write records.
BeginWriteStreamSet the stream to be used in the WriteNext operation.
Close Close the underlining Readers and Writers. (if any)
Flush Save all the buffered data for write to the disk. Useful to long opened async engines that wants to save pending values or for engines used for logging.
ReadFile Read a File and returns the records.
ReadNext Reads the next record of a file opened with the BeginReadFile or BeginReadStream method.
ReadNexts Reads the specified number of records from a file or stream opened with the BeginReadFile or BeginReadStream method.
ReadStream Read a Stream and return an array of the contained records.
ReadString Read a String and return an array of the contained records.
SetProgressHandler (inherited from FileHelpers.EngineBase)Overloaded. Set the handler to the engine used to notify progress into the operations.
WriteFileOverloaded. Write an array of records to the specified file.
WriteNextWrite the next record to a file or stream opened with BeginWriteFile, BeginWriteStream or BeginAppendToFile method.
WriteNextsWrite the nexts records to a file or stream opened with BeginWriteFile, BeginWriteStream or BeginAppendToFile method.
WriteStreamOverloaded. Write the records to a file
WriteStringOverloaded. Write an array of records to an String and return it.

Explicit Interface Implementations

IDisposable.Dispose Release Resources
IEnumerable.GetEnumeratorAllows to loop record by record in the engine

See Also

MultiRecordEngine Class | FileHelpers Namespace | Quick Start Guide | Class Diagram | Examples of Use | Example of the DataLink | Attributes List


Powered by:

Source Forge Thanks Jetbrains for support us !! Thanks BB Software for support us !! TestDriven.NET Code Coverage by Clover.NET Code Project Article Larkware News Sharp Toolbox