Sample .NET Framework Data Provider, C# Implementation
The preceding topics in this section include links to additional topics that contain sample C# code you can use to create a sample .NET Framework data provider. You can copy this code into blank text files, place the files in a directory, and compile them into a library per the instructions found in Sample .NET Framework Data Provider.
The following table shows the C# implementation of the sample .NET Framework data provider included in this topic.
File name | Description |
---|---|
TemplateConnection.cs | Contains sample code for creating a Connection object. For more information, see Implementing a Connection. |
TemplateTransaction.cs | Contains sample code for creating a Transaction object. For more information, see Implementing a Connection. |
TemplateCommand.cs | Contains sample code for creating a Command object. For more information, see Implementing a Command. |
TemplateParameter.cs | Contains sample code for creating a Parameter object that is a member of the Command.Parameters collection. For more information, see Implementing a Command. |
TemplateParameterCollection.cs | Contains sample code for creating a ParameterCollection object to be used as the Command.Parameters property. For more information, see Implementing a Command. |
TemplateDataReader.cs | Contains sample code for creating a DataReader object. For more information, see Implementing a DataReader. |
TemplateDataAdapter.cs | Contains sample code for creating a DataAdapter object. For more information, see Implementing a DataAdapter. |
SampleDb.cs | Contains sample code that simulates a query and updates to a data source. For more information, see the "SampleDb" section in Sample .NET Framework Data Provider. |
See Also
Sample .NET Framework Data Provider | Implementing a .NET Framework Data Provider