Home > Net >  Datebase First retrieved from the database of main foreign key relationships annotation
Datebase First retrieved from the database of main foreign key relationships annotation

Time:09-27



When I was outside the database to add keys associated with written comments, I want to use the DateBase Fisrt generated entity class, direct access to foreign key instructions to automatically generate the associated object; Specification of fields and tables show GetSummery. When I use ttinclude; But the foreign key comments without obtaining method, next ability is not enough, also the great god of all stripes, please advise

CodePudding user response:

Can't seem to get,
Also what I tried before, but I didn't get,

CodePudding user response:

reference 1st floor is nu month god reply:
seems to get less than,
Also what I tried before, but I didn't get,


How did you add comments operation, I manually add comments, updates when entities will be updated

CodePudding user response:

refer to the second floor UpdateGit response:
Quote: refer to 1st floor is nu month god reply:

Can't seem to get,
Also what I tried before, but I didn't get,


How did you add comments operation, I manually add comments, updates of entities will be updated when

Yes, will be updated,
So, you can only update manually, rather than through the database to update model,
if after your data model in existence [NotMapped] don't map the fields, such as
Will keep in mind, don't directly from a database update, otherwise would not,

CodePudding user response:

refer to the third floor is nu month god reply:
Quote: refer to the second floor UpdateGit response:

Quote: refer to 1st floor is nu month god reply:

Can't seem to get,
Also what I tried before, but I didn't get,


How did you add comments operation, I manually add comments, updates of entities will be updated when

Yes, will be updated,
So, you can only update manually, rather than through the database to update model,
if after your data model in existence [NotMapped] don't map the fields, such as
Will keep in mind, don't directly from a database update, otherwise would not,


Ok, well, it seems that only update manually, no longer use update entity from a database
  •  Tags:  
  • C#
  • Related