Which is best way for develop Database API in C# RRS feed

  • Question

  • hi,

    I want to create a C# API for ASP.NET Application. How to Create the API in C# for Storing and retrieving the data in sql.

    Am in confusion of how to define the API, whether I have to define separate class for connection of sql, and insert I have to define a separate class likewise for update and delete or we can define all the functionality in single class. Can anyone guide me in right in which which way I have to go.

    What is the best way for building Database API.

    Wednesday, November 4, 2009 8:44 AM