- Course
Code-first Entity Framework 2 with Legacy Databases
Most code generators are inflexible, but with the Entity-Framework Reverse POCO Generator, you can create code exactly how you want it. You'll learn how to reverse-engineer a legacy or current SQL Server database into Code-first Entity-Framework code.
- Course
Code-first Entity Framework 2 with Legacy Databases
Most code generators are inflexible, but with the Entity-Framework Reverse POCO Generator, you can create code exactly how you want it. You'll learn how to reverse-engineer a legacy or current SQL Server database into Code-first Entity-Framework code.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
With EDMX support fading away, it's even more important to use code-first as EF7 approaches. Most generators are rigid and don't provide you any flexibility in how the code is to be generated. But in this course, Code-first Entity Framework with Legacy Databases, we will be using the "Entity-Framework Reverse POCO Generator", a free visual studio tool, available at www.ReversePoco.com. This generator has been designed from the ground up to be customizable, and produce the code you would have done if you hand-coded it yourself. This course will show you what each of the various settings has on the generated code, and you'll also learn how to create separate data and model projects, as well as create repositories, unit tests and integration tests. By the end of this course, you will be able to flexibly generate code that meets your needs.
Code-first Entity Framework 2 with Legacy Databases
-
Introduction | 28s
-
Module Overview | 33s
-
What Is Reverse Engineering? | 51s
-
Entity Framework Prerequisites | 21s
-
What Code-first Means | 1m 24s
-
Installation into a New Project | 1m 5s
-
Visual Studio Gallery Website | 16s
-
Codeplex Website | 13s
-
Why Not Use the Microsoft Generator? | 1m 15s
-
Demo Introduction | 20s
-
Demo | 8m 5s
-
Summary | 31s
-
Version Check | 20s
-
Introduction | 9s
-
Module Overview | 14s
-
Demo Introduction | 11s
-
Namespace | 2m 23s
-
DbContextName | 1m 15s
-
DbContextInterfaceBaseClasses and MakeClassesPartial | 6m 55s
-
ConnectionStringName and ConfigFilenameSearchOrder | 2m 1s
-
TargetFrameworkVersion | 1m
-
ConfigurationClassName | 1m 9s
-
GenerateSeparateFiles | 1m 33s
-
UseCamelCase | 3m 33s
-
IncludeComments and IncludeExtendedPropertyComments | 3m 37s
-
IncludeViews | 1m
-
IncludeTableValuedFunctions | 2m 51s
-
DisableGeographyTypes | 1m 39s
-
CollectionType | 4m 23s
-
AddUnitTestingDbContext | 1m 29s
-
IncludeQueryTraceOn9481Flag | 3m 56s
-
AdditionalNamespaces | 1m 29s
-
AdditionalContextInterfaceItems | 3m 38s
-
WCF | 3m 52s
-
Summary | 20s