in use case diagram having database as an actor

Is it necessary to include a database as an actor in a use case? I'm working on a use case project for my university, and I've already defined the actors: the primary actor is the user, and the secondary actors are AI and the database. and the database i connected to use case called "Add food items to databse" this is the use case diagram,i make the specific the use case meant with red color.

Mar 14, 2025 - 22:25
 0
in use case diagram having database as an actor

Is it necessary to include a database as an actor in a use case? I'm working on a use case project for my university, and I've already defined the actors: the primary actor is the user, and the secondary actors are AI and the database. and the database i connected to use case called "Add food items to databse" this is the use case diagram,i make the specific the use case meant with red color. enter image description here