Complicated Database Manipulation

后端 未结 3 1155
走了就别回头了
走了就别回头了 2021-01-16 13:39

I draw a very simple database design for my ASP.NET application and with a little help here and there I managed to implement my design...but I want to insert data to this ta

3条回答
  •  盖世英雄少女心
    2021-01-16 14:12

    1. That is not a big design, but rather a smallish one. It will likely grow as you further develop your application.

    2. You will put information into your tables by collecting the various values from the user interface and preparing a series of INSERT statements to be sent to the database engine. Each INSERT will add a row to a table. If you are using database-generated IDs then you will probably have to retrieve them between INSERTs and use the value as part of the subsequent INSERT statement.

    3. You'll get the data back using one or more SELECT statements that get data from a single table or JOIN data from several different tables. If you find that these JOINed SELECT statements constitute important, often used concepts you may choose to encapsulate them in some VIEWs.

提交回复
热议问题