Mapping Tables

We will use Linq to SQL as our ORM method.

Right-click on Model folder then add LINQ to SQL class. Name it with Operation.

Open the Data Connection from left-side panel.

Drag and drop both of Genre and Song tables into Operation.dbml.

Last, check web.config code to ensure the connectionString configuration.

results matching ""

    No results matching ""