c# 4.0 - How To Get Hierarchy With Linq C# -
I LINQ with C # is stucked in a problem there are three tables in my DB before second tbl_ActivitiesMaster (the parent Containing Child Data)
table tbl_ActivityMaster (intActivityId int identity (not producing 1,1) nULL, strActivityDesc varchar (max) zero, intActivityUOMId integer, dtDatetime datetime, IsParentActivity integer , IsAlerternateActivity Integer NULL, intPartToId int null, intTaskId int null, intalternetId int null, CONSTRAINT PK_tbl_ActivityMaster Primary key class (PAD_INDEX = close with, STATISTICS_NORECOMPUTE = closed, IGNORE_DUP_KEY = off, ALLOW_ROW_LOCK S = ON, ALLOW_PAGE_LOCKS = current) [primary]) [primary] on
tbl_TendersTaskActivities
(intID [int] recognition table tbl_TendersTaskActivities (1,1) nOT nULL, intTaskId [int] zero, intTenderId [int] zero, intProjectWorkGroupId [int] zero, intActivityId [int] zero, ftActivityQty [Flo At] nULL, ftActivityRate [float] NULL, intUomId int null, dtTaskStartDate [datetime] NULL, dtTaskCompletionDate [datetime] NULL, intFlag [int] NULL, ISCanceled [bit] NULL, CONSTRAINT [PK_buddyduck] with primary key class ([intID] ASC) (PAD_INDEX = closed, STATISTICS_NORECOMPUTE = off, IGNORE_DUP_KEY = off, [Pratham on ALLOW_ROW_LOCKS =, ALLOW_PAGE_LOCKS =) A] I want to table the table with tbl_TendersTaskActivities with TaskActivities; actucts parents as a parent, please anyone can solve this problem Thanks in advance thanks to [primary] .
join d DataContext.tbl_TendersTaskActivities on m.intActivityId in DataContext.tbl_ActivityMaster temp. DefaultIfEmpty () group in SysDocument by temporarily from d.intActivityId m
Comments
Post a Comment