C# 0 The Complete Reference


join  is shown here (in context with the  from



Download 4,07 Mb.
Pdf ko'rish
bet712/1096
Sana23.01.2022
Hajmi4,07 Mb.
#402171
1   ...   708   709   710   711   712   713   714   715   ...   1096
Bog'liq
C-Sharp 3 The Complete Reference Herbert Schildt

join

 is shown here (in context with the 



from

):

from 



range-varA 

in

data-sourceA

    join 

range-varB

 in 


data-sourceB

        on 



range-varA.property

 equals 


range-varB

.

property

The key to using 

join

 is to understand that each data source must contain data in common, 

and that data can be compared for equality. Thus, in the general form, 

data-sourceA

 and 


data-

sourceB

 must have something in common that can be compared. The items being compared 

are specified by the 

on

 section. Thus, when 



range-varA.property

 is equal to 



range-varB.property

,

the correlation succeeds. In essence, 



join

 acts like a filter, allowing only those elements that 

share a common value to pass through.

When using 



join

, often the sequence returned is a composite of portions of the two data 

sources. Therefore, 

join

 lets you generate a new list that contains elements from two 

different data sources. This enables you to organize data in a new way.

www.freepdf-books.com




Download 4,07 Mb.

Do'stlaringiz bilan baham:
1   ...   708   709   710   711   712   713   714   715   ...   1096




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish