2
Answers

get list of data from database using stored procedure

Gopi

Gopi

Apr 06
407
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)