Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi frends,

learning ef.

small basic doubt is
1. i was added 2 tables and 1 stored procedure.
later done=> right click on edmx file=> autocode generated. [done succes fully].

now if i was added a table again that table was not added to the edmx .
why.
is there i have to do any settings
can you help me in this .

regards
RajanChow
Posted
Comments
govardhan4u 4-Dec-13 10:32am    
Did you mean that to add the same table or u mean that SP was added but table was not added?
AlexDpars 4-Dec-13 11:39am    
I think he tried to add an other table and it didn't work that time... If so verify that your table have a primary key EF don't like when there is now primary key on a table(I had issue with this in the past). If that is not the case tell us a bit more please.
rajacsharp5 5-Dec-13 2:43am    
thans for revert.i restated it was added later.
current doubt is
1. added one table and stored proce.
2.addcodegeneration item. this also fine.
3.if i added any table or sp again i do need code generation?.
if then 2 (model.tt/model1.tt) were creating.
shall we avoid this step. pls help me in this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900