EF Code First From DB not creating Entities for all tables

c# ef-code-first entity-framework-6

Question

I'm trying to use an existing database.Entity Framework Code First From Database for which to produce C# entities. To accomplish this, I amAdd -> New Item -> ADO.NET Entity Data Model -> Code First from database Visual Studio 2015 inside. When I browse theEntity Data Model Wizard Although I can see that each table has been chosen, not all of the tables' entities had been generated by the time the import was complete. I carefully sure that the table with no entities was actually selected for import after attempting this twice. I'm not sure why some of the tables' titles are missing as no issues were raised during the import. What could be wrong, and how do I obtain entities for each and every one of the selected tables?

One of the missing tables' SQL Create Table code is as follows:

CREATE TABLE [dbo].[ProgramControl] (
    [CodeName]    VARCHAR (80) NULL,
    [CodeValue1]  VARCHAR (50) NULL,
    [CodeValue2]  VARCHAR (50) NULL,
    [CodeValue3]  VARCHAR (50) NULL,
    [CodeValue4]  VARCHAR (50) NULL,
    [Description] TEXT         NULL
);
1
2
1/4/2016 8:58:21 PM

Accepted Answer

ZZZ_tmp
7
5/23/2017 11:54:40 AM

Popular Answer

ZZZ_tmp


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow