2
Answers

get list of data from database using stored procedure

Photo of Gopi

Gopi

1y
516
1

I want to get the list of data from the database as student each student has list of projects

public class Student
{
    public int StudentId { get; set; }
    public string StudentName{ get; set; }
    public List<Project> Projects { get; set;}
}

public class Project
{
    public int ProjectId { get; set; }
    public string ProjectName { get; set; }
}

Answers (2)