c# - ADO.NET data model generate from database is leaving out one of my tables -


i trying add ado.net asp.net project.

it generates correctly, except leaves out 1 of tables,

i have feeling might due naming issue or something,

it add 1 tables called users table excluding called 'usercompanyhow ever have tried turning off option topluralize or singulise generated object names` , still same,

the usercompany table simple table consisting of 2 ints,

userid , companyid

is there issue or common bug not aware of? , how cna work aroudn this, have been using model until need use 1 table aint there.

i found out issue,

my 1 table did not have primary key, , far know ef requires table have primary key.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -