Suche senden
Hochladen
Ef code first
•
Als PPT, PDF herunterladen
•
0 gefällt mir
•
707 views
D
dotNETUserGroupDnipro
Folgen
Melden
Teilen
Melden
Teilen
1 von 20
Jetzt herunterladen
Empfohlen
Mca ii dfs u-2 array records and pointer
Mca ii dfs u-2 array records and pointer
Rai University
XXE
XXE
n|u - The Open Security Community
Xxe
Xxe
nullowaspmumbai
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
Abhishek Kesharwani
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
Abhishek Kesharwani
Object oriented database concepts
Object oriented database concepts
Temesgenthanks
Object oriented database
Object oriented database
Md. Hasan Imam Bijoy
Data Structures by Yaman Singhania
Data Structures by Yaman Singhania
Yaman Singhania
Empfohlen
Mca ii dfs u-2 array records and pointer
Mca ii dfs u-2 array records and pointer
Rai University
XXE
XXE
n|u - The Open Security Community
Xxe
Xxe
nullowaspmumbai
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
Abhishek Kesharwani
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
Abhishek Kesharwani
Object oriented database concepts
Object oriented database concepts
Temesgenthanks
Object oriented database
Object oriented database
Md. Hasan Imam Bijoy
Data Structures by Yaman Singhania
Data Structures by Yaman Singhania
Yaman Singhania
Dtd
Dtd
Abhishek Kesharwani
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
Abhishek Kesharwani
Specs2
Specs2
Eric Torreborre
Typedef
Typedef
vaseemkhn
Clean code
Clean code
Smita Prasad
Intro to python
Intro to python
Mohamed Essam
Data type
Data type
Unviersity of balochistan quetta
Entity Framework
Entity Framework
vrluckyin
Object oriented databases
Object oriented databases
Sajith Ekanayaka
Jason yousef ssis expressions - no notes
Jason yousef ssis expressions - no notes
jasonyousef
Declaration programming 2017
Declaration programming 2017
Marke Greene
DTD
DTD
Kamal Acharya
Flyweight Pattern
Flyweight Pattern
Hüseyin Ergin
Structure and Typedef
Structure and Typedef
Acad
Dot net programming concept
Dot net programming concept
sandeshjadhav28
Xml Presentation-1
Xml Presentation-1
Sudharsan S
Xml dtd
Xml dtd
sana mateen
Kotlin generics
Kotlin generics
Wei-Shen Lu
Data Types - Premetive and Non Premetive
Data Types - Premetive and Non Premetive
Raj Naik
Datastrucure
Datastrucure
Mohamed Essam
Photo album of Chinmay & Prachi
Photo album of Chinmay & Prachi
Saraf Public School
Css 3 overview
Css 3 overview
dotNETUserGroupDnipro
Weitere ähnliche Inhalte
Was ist angesagt?
Dtd
Dtd
Abhishek Kesharwani
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
Abhishek Kesharwani
Specs2
Specs2
Eric Torreborre
Typedef
Typedef
vaseemkhn
Clean code
Clean code
Smita Prasad
Intro to python
Intro to python
Mohamed Essam
Data type
Data type
Unviersity of balochistan quetta
Entity Framework
Entity Framework
vrluckyin
Object oriented databases
Object oriented databases
Sajith Ekanayaka
Jason yousef ssis expressions - no notes
Jason yousef ssis expressions - no notes
jasonyousef
Declaration programming 2017
Declaration programming 2017
Marke Greene
DTD
DTD
Kamal Acharya
Flyweight Pattern
Flyweight Pattern
Hüseyin Ergin
Structure and Typedef
Structure and Typedef
Acad
Dot net programming concept
Dot net programming concept
sandeshjadhav28
Xml Presentation-1
Xml Presentation-1
Sudharsan S
Xml dtd
Xml dtd
sana mateen
Kotlin generics
Kotlin generics
Wei-Shen Lu
Data Types - Premetive and Non Premetive
Data Types - Premetive and Non Premetive
Raj Naik
Datastrucure
Datastrucure
Mohamed Essam
Was ist angesagt?
(20)
Dtd
Dtd
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
Specs2
Specs2
Typedef
Typedef
Clean code
Clean code
Intro to python
Intro to python
Data type
Data type
Entity Framework
Entity Framework
Object oriented databases
Object oriented databases
Jason yousef ssis expressions - no notes
Jason yousef ssis expressions - no notes
Declaration programming 2017
Declaration programming 2017
DTD
DTD
Flyweight Pattern
Flyweight Pattern
Structure and Typedef
Structure and Typedef
Dot net programming concept
Dot net programming concept
Xml Presentation-1
Xml Presentation-1
Xml dtd
Xml dtd
Kotlin generics
Kotlin generics
Data Types - Premetive and Non Premetive
Data Types - Premetive and Non Premetive
Datastrucure
Datastrucure
Andere mochten auch
Photo album of Chinmay & Prachi
Photo album of Chinmay & Prachi
Saraf Public School
Css 3 overview
Css 3 overview
dotNETUserGroupDnipro
Balsamiq
Balsamiq
dotNETUserGroupDnipro
Dadhikar fort
Dadhikar fort
Saraf Public School
Open state concept
Open state concept
Dominik Wind
Sonar quality
Sonar quality
dotNETUserGroupDnipro
Andere mochten auch
(6)
Photo album of Chinmay & Prachi
Photo album of Chinmay & Prachi
Css 3 overview
Css 3 overview
Balsamiq
Balsamiq
Dadhikar fort
Dadhikar fort
Open state concept
Open state concept
Sonar quality
Sonar quality
Ähnlich wie Ef code first
Ef code first
Ef code first
ZealousysDev
.NET Core, ASP.NET Core Course, Session 13
.NET Core, ASP.NET Core Course, Session 13
aminmesbahi
Intake 37 ef2
Intake 37 ef2
Mahmoud Ouf
Entity Frame Work Core.pptx
Entity Frame Work Core.pptx
PrachiPatel779586
Intake 38 data access 5
Intake 38 data access 5
Mahmoud Ouf
Building nTier Applications with Entity Framework Services (Part 1)
Building nTier Applications with Entity Framework Services (Part 1)
David McCarter
Building nTier Applications with Entity Framework Services (Part 1)
Building nTier Applications with Entity Framework Services (Part 1)
David McCarter
Entity Framework 4
Entity Framework 4
Stefano Paluello
Entity Framework: Code First and Magic Unicorns
Entity Framework: Code First and Magic Unicorns
Richie Rump
dotNet Miami - June 21, 2012: Richie Rump: Entity Framework: Code First and M...
dotNet Miami - June 21, 2012: Richie Rump: Entity Framework: Code First and M...
dotNet Miami
ASP.NET 09 - ADO.NET
ASP.NET 09 - ADO.NET
Randy Connolly
Entity framework
Entity framework
Mehdi jannati
Ado.net & data persistence frameworks
Ado.net & data persistence frameworks
Luis Goldster
Entity Framework Overview
Entity Framework Overview
Eyal Vardi
PATTERNS07 - Data Representation in C#
PATTERNS07 - Data Representation in C#
Michael Heron
Entity Framework v2 Best Practices
Entity Framework v2 Best Practices
Andri Yadi
unit 3.docx
unit 3.docx
Sadhana Sreekanth
ADO.NET by ASP.NET Development Company in india
ADO.NET by ASP.NET Development Company in india
iFour Institute - Sustainable Learning
Data access
Data access
Joshua Yoon
Murach: How to use Entity Framework EF Core
Murach: How to use Entity Framework EF Core
MahmoudOHassouna
Ähnlich wie Ef code first
(20)
Ef code first
Ef code first
.NET Core, ASP.NET Core Course, Session 13
.NET Core, ASP.NET Core Course, Session 13
Intake 37 ef2
Intake 37 ef2
Entity Frame Work Core.pptx
Entity Frame Work Core.pptx
Intake 38 data access 5
Intake 38 data access 5
Building nTier Applications with Entity Framework Services (Part 1)
Building nTier Applications with Entity Framework Services (Part 1)
Building nTier Applications with Entity Framework Services (Part 1)
Building nTier Applications with Entity Framework Services (Part 1)
Entity Framework 4
Entity Framework 4
Entity Framework: Code First and Magic Unicorns
Entity Framework: Code First and Magic Unicorns
dotNet Miami - June 21, 2012: Richie Rump: Entity Framework: Code First and M...
dotNet Miami - June 21, 2012: Richie Rump: Entity Framework: Code First and M...
ASP.NET 09 - ADO.NET
ASP.NET 09 - ADO.NET
Entity framework
Entity framework
Ado.net & data persistence frameworks
Ado.net & data persistence frameworks
Entity Framework Overview
Entity Framework Overview
PATTERNS07 - Data Representation in C#
PATTERNS07 - Data Representation in C#
Entity Framework v2 Best Practices
Entity Framework v2 Best Practices
unit 3.docx
unit 3.docx
ADO.NET by ASP.NET Development Company in india
ADO.NET by ASP.NET Development Company in india
Data access
Data access
Murach: How to use Entity Framework EF Core
Murach: How to use Entity Framework EF Core
Mehr von dotNETUserGroupDnipro
Mercurial presentation
Mercurial presentation
dotNETUserGroupDnipro
Rx for .net
Rx for .net
dotNETUserGroupDnipro
Winmobile
Winmobile
dotNETUserGroupDnipro
Soft serve prism
Soft serve prism
dotNETUserGroupDnipro
Html5
Html5
dotNETUserGroupDnipro
Erp microsoft dynamics
Erp microsoft dynamics
dotNETUserGroupDnipro
Mvc3
Mvc3
dotNETUserGroupDnipro
Azure for ug
Azure for ug
dotNETUserGroupDnipro
Mehr von dotNETUserGroupDnipro
(8)
Mercurial presentation
Mercurial presentation
Rx for .net
Rx for .net
Winmobile
Winmobile
Soft serve prism
Soft serve prism
Html5
Html5
Erp microsoft dynamics
Erp microsoft dynamics
Mvc3
Mvc3
Azure for ug
Azure for ug
Ef code first
1.
2.
Code First Model
1. Define Simple Entities with connection by ID
3.
2. Add
virtual properties for lazy loading of Aggregated Fields EF lazy loading is enabled by default Code First Model
4.
3. Remember
to preserve name convention EF Code First uses general agreement about names. Code First Model
5.
4. Create
Data Context DbContext is similar to EF general Data Context Code First Model
6.
Code First Model
5. Create a Repositories
7.
6. What
about usage? You can work with it same like a general EF Model Code First Model
8.
7. And what
is the result? Code First Model
9.
Code First Model
9. Where is Database? Default DB Server is .qlExpress
10.
11.
12.
Code First Model
Database Initializers System.Data.Entity.Database .IDatabaseInitializer <in TContext> CreateDatabaseIfNotExists DropCreateDatabaseIfModelChanges DropCreateDatabaseAlways
13.
Code First Model
1. Create Initializer
14.
Code First Model
2 . Register Initializer
15.
Code First Model
3 . And we have data if no db is created
16.
17.
18.
And Validation Attributes
are now also supported Code First Model
19.
And using
some MVC Magic we receive Code First Model
20.
Questions? :)
Jetzt herunterladen