Sunday, 29 September 2013

How write linq query for this scenario

How write linq query for this scenario

I have two tables one is datacenter and subnet data center is having
primary key and subnet table having foriegn key values of datacenter id. I
need the result like, different lists for each datacenterid from subnet
table.
Id DatacenterId name xxx 1 1 kishore kumar 2 1 .. .. 3 1 .. .. 4 2 .. .. 5
2 .. .. 6 2 .. ..
I need to get two list one is having datacenterId=1 another is datacenterId=2

No comments:

Post a Comment