Tips and Tricks

<Under Development>

    • Tt is very important to Dispose the data reader returned by library. This is accomplished by the using statement in the code above. When the data reader is disposed, the underlying DbConnection is also closed.

    • Data accessors can be expensive to create. It is recommended that you set them up once and then keep a reference to the instances.