Gagan Gautam

Gagan Gautam

  • NA
  • 140
  • 15.1k

I want to prevent automatically class created in t

Jul 28 2016 5:55 AM
Hello, My question is realeted to Entity Framwork. I am using EF in my project Database First Approch.
 
Suppost i add a table from SQL to .edmx Like dbo.Employe  (this is table),
And when its add on .edmx and that time Employe.cs class is automatically created in to Context
 
but my requirement is that,
when we add any table from Sql to .edmx . but class is not created automatically in context.
i want to add this class my self.
 
actually  I want to prevent automatically class created in to edmx with corosponding table.
 
How can do that .
 
 
 

Answers (2)