Guide to Entity Framework with



Download 11,91 Mb.
Pdf ko'rish
bet48/48
Sana30.03.2022
Hajmi11,91 Mb.
#517122
TuriGuide
1   ...   40   41   42   43   44   45   46   47   48
Bog'liq
Entity Framework Tutorial, Second Edition (1)

[
 53 
]
The markup code of the EntityDataSource control looks like the following:
ConnectionString="name=SecurityDBEntities"
DefaultContainerName="SecurityDBEntities" EnableFlattening="False"
EntitySetName="UserAuthentications"
EntityTypeFilter="UserAuthentication"
Select="it.[UserAuthenticationID], it.[UserAuthenticationTypeID],
it.[UserID], it.[UserName]">

This is what the complete markup code of the 
Default.aspx
web page looks like:






runat="server" ConnectionString="name=SecurityDBEntities" 
DefaultContainerName="SecurityDBEntities" 
EnableFlattening="False" 
EntitySetName="UserAuthentications" 
EntityTypeFilter="UserAuthentication" 
Select="it.[UserAuthenticationID], 
it.[UserAuthenticationTypeID], 
it.[UserID], it.[UserName]">

AutoGenerateColumns="False" 
DataSourceID="EntityDataSource1">

HeaderText="UserAuthenticationID" ReadOnly="True" 
SortExpression="UserAuthenticationID" />
DataField="UserAuthenticationTypeID" 
HeaderText="UserAuthenticationTypeID" 
ReadOnly="True" 
SortExpression="UserAuthenticationTypeID" />
HeaderText="UserID" ReadOnly="True" 
SortExpression="UserID" />


Getting Started
[
 54 
]
HeaderText="UserName" ReadOnly="True" 
SortExpression="UserName" />



Download 11,91 Mb.

Do'stlaringiz bilan baham:
1   ...   40   41   42   43   44   45   46   47   48




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