Visual C# Developer Center > Visual C# Forums > Visual C# Language > Which is best way for develop Database API in C#
Ask a questionAsk a question
 

AnswerWhich is best way for develop Database API in C#

  • Wednesday, November 04, 2009 8:44 AMseewinpgm Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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.

Answers

All Replies