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
}
public class Project
{
public int ProjectId { get; set; }
public string ProjectName { get; set; }
}
Jaimin ShethiyaPosted Apr 7, 2024, 3:50 AM
Hello,
In your example the relationship is not there, so you need to first do the relationship then after create the store procedure to get the combine data.
Thanks
Tahir AnsariPosted Apr 6, 2024, 7:29 AM