Horje
linq query to fetch parent child data from same table in c# Code Example
linq query to fetch parent child data from same table in c#
var v = from p in db.tableName
        select new
        {
          ParentID = p.SerialNo,
          child = from c in db.tableName
                  where c.Parent == p.SerialNo select
                  new
                  {
                    ChildID = c.SerialNo,
                    ParentID = c.Parent
                  }
        };




Csharp

Related
get link element revit api Code Example get link element revit api Code Example
c# read key without writing Code Example c# read key without writing Code Example
eager loading singleton c# dependency injection Code Example eager loading singleton c# dependency injection Code Example
how to split a string in f# Code Example how to split a string in f# Code Example
make string uppercase c# Code Example make string uppercase c# Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8