With the new LCPI OLE DB .Net provider no longer need to simulate…
The key difference between the new .NET Provider for OLE DB and most analogues is in the fact that the new .NET Provider did not simulate stream uploading, but is really able to load a data stream of ANY SIZE via GetBytes, GetChars, GetStream and GetTextReader of the OleDbDataReader class.
Now, let’s come to the technical aspect of the new version of .NET Provider:
- GetBytes and GetChars methods of the OleDbDataReader class implemented
- Support of System.IO.Stream and System.IO.TextReader integrated
- Projects with examples added
- Separate assembiles for .NET 4.5 [VS2012] available
GetBytes and GetChars methods of the OleDbDataReader class implemented
- The use of stream mechanisms for data loading that allow you to process data of any size.
- A request for length does not lead to the load of the data.
Support of System.IO.Stream and System.IO.TextReader
Acceptable is:
- Usage as IN parameter values. Examples: 1, 3
- Getting via OUT parameter values. Examples: 2, 4
- Getting via GetStream and GetTextReader methods of the OleDbDataReader class. Examples: 1, 3
Features:
- The use of the streaming data load mechanisms that allow you to process data of any size. Example: 7
- Support of the arrays with Stream and TextReader objects.
Projects with examples added
To the distribution kit of .NET Provider added were projects with examples that may be compiled in VS2008, VS2010 and VS2012.
- The use of System.IO.Stream (C#)
- Getting System.IO.Stream from an OUT parameter (C#)
- The use of System.IO.TextReader (C#)
- Getting System.IO.TextReader from an OUT parameter (C#)
- Execution of the query INSERT RETURNING (C#)
- Execution of the query INSERT RETURNING [Compact version] (C#)
- Execution of the query INSERT RETURNING INTO (C#)
- Execution of the query INSERT RETURNING INTO [Compact version] (C#)
- Write and read large (8GB) binary blob (C#)
- Usage of OleDbDataReader.GetChars (C#)
- Usage of OleDbDataReader.GetBytes (C#)
For the compilation of the release code of examples, the release builds of the providers will be used. For the compilation of the debugging code of examples, the debugging builds of the providers will be used.
In addition, the distribution kit includes a build with tests (more than 4,500) that may be used to explore the capabilities of our .NET provider.
Assemblies for .NET 4.5 [VS2012]
New distributive kit contains the separate assemblies (release/debug) for .NET 4.5.