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 to
pluralize 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
Post a Comment