what is code first approach?



what is code first approach?..

Answer / Amardeep Singh

Code First is an approach in Entity Framework where the developer defines the database schema by writing C# or VB.NET classes that represent the tables and their relationships. Once the classes are defined, the DbContext creates and manages the database schema automatically when the application runs.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

Where is tempdata stored?

1 Answers  


Is .net core replacing .net framework?

1 Answers  


What is serialization in .NET? What are the ways to control serialization?

2 Answers  


Types of assemblies that can be created in dotnet ?

2 Answers   MMTS,


What are html helpers in asp.net mvc?

1 Answers  


Which are the abstract classes available under system.xml namespace

1 Answers  


What is the use of display modes?

1 Answers  


What is Global Assembly Cache (GAC) and what is the purpose of it?

2 Answers  


Which version of the common language runtime (clr) does the .net framework 3.0 use?

1 Answers  


im software developer (.net). i goth1b (usa )appointment 30th of this month . chennai people asking responsbilities .can anyone wht responsbilities i need say . plz help me

2 Answers  


How to identify the Code which Complies corresponding Compiler in .NET? Means Suppose, i am taking One project A.. in which code is implemented using C# langugge. And Another Project B..in Which Code is implemented using VB.NET. Suppose I am creating Project C. i am adding Reference of Project A and B to Project C. So, in Project C, how to identify Project A is Complied through CSCompliler? And Project B is Compiled VBCompiler at Runtime?

1 Answers  


What is namespace of asp.net mvc?

1 Answers  


Categories