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

CommonEngine Members

CommonEngine overview

Public Static (Shared) Methods

CsvToDataTableOverloaded. Reads a Csv File and return their contents as DataTable (The file must have the field names in the first row)
DataTableToCsvOverloaded. Simply dumps the DataTable contents to a delimited file using a ',' as delimiter.
MergeAndSortFileOverloaded. Merge the contents of 2 files and write them sorted to a destination file.
MergeFiles Reads the file1 and file2 using the recordType and write it to destinationFile
RawReadAllFile Shortcut method to read all the text in a file.
RawReadFirstLines Shortcut method to read the first n lines of a text file.
ReadFileOverloaded. Used to read a file without instanciate the engine.
This is feature limited method try to use the non static methods.
ReadFileAsDTOverloaded. Used to read a file as a DataTable without instanciate the engine.
This is feature limited method try to use the non static methods.
ReadSortedFile Read the contents of a file and sort the records.
ReadStringOverloaded. Used to read a string without instanciate the engine.
This is feature limited method try to use the non static methods.
RecordsToDataTableOverloaded. Converts any collection of records to a DataTebla using reflection. WARNING: this methods returns null if the number of records is 0, pass the Type of the records to get an empty DataTable.
RemoveDuplicateRecords This method allow to remove the duplicated records from an array.
SortFile Sort the contents of the source file and write them to the destination file.
SortFileByField Sort the content of a File using the field name provided
SortRecords Sort the Record Array. The records must be of a Type that implements the IComparable interface.
SortRecordsByFieldOverloaded. Sort the Record Array based in the field name provided. (for advanced sorting use SortRecords)
TransformFileTransform the records of type sourceType in the sourceFile in records of type destType and write them to the destFile. (but returns the transformed records) WARNING: this is a slower method that the TransformFileAssync.
TransformFileAsyncFaster way to Transform the records of type sourceType in the sourceFile in records of type destType and write them to the destFile.
WriteFile Used to write a file without instanciate the engine.
This is feature limited method try to use the non static methods.
WriteString Used to write a string without instanciate the engine.
This is feature limited method try to use the non static methods.

See Also

CommonEngine Class | FileHelpers Namespace


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