R
R
reboot7772019-06-19 01:08:20
C++ / C#
reboot777, 2019-06-19 01:08:20

How to implement adding multiple records per person in asp.net mvc application?

1. There is a main table. Columns - id_chelovek(key), full name, date of birth.
2. There is also a second table - Appeals. Columns: id_chelovek(key), Call_date, Call reason, Completion mark.
3. id_chelovek of the 1st table and id_chelovek of the 2nd are connected.
4. It is assumed that there will be several hundred records in Appeals per person.
5. Questions. How to implement adding several rows to the database in the window for adding a record by person.
6. Only a banal record is added, with id_chelovek, full name, date of birth, but there is no way to attach to this record - records in the Addresses table. That is, there is no connection between this id_chelovek (main table) and and (References). PS Entries in (Requests) are added, but when checking for the presence of an identifier, it is missing.
7. How to implement this connection? How to implement this very addition of an unlimited number of records of "Appeals" with reference to a person.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question