Hello. Now, after recreating the if application and you connect as a model to the database, you're hitting entity object which table and the view object business is in object. So now let's take a start with entity object and try as much as we can to configure each entity object such as the model to be ready to be used in the view controller. So second, the third step we will do now, after creating the database greetings ADF application, you will configure the entity object. So let's now open one by one classroom. What we should do in this entity object First we'll check is there any alternate key is this a is this table or not?
Here is a wrong number. And great number. Okay, the wrong number. could not be repeated okay because this is a key in a way that's fine Okay, so now let's try to have a label for each one because now if you drag this classroom you should see the table with the approver tickets. So in the UI hint here I will write here variable called called room number. Here I will call it create number.
Great. Okay. Okay, I think we it's better to a sets the table for or entity first divot. So let's go here for school information. Hear it all as a primary key because there is no primary key actually in the table sitting so by default it says all the primary key in a way to school information would be only one row so that's fine school name can see our name address Amir, this label will be appear once you drag the table it was a view object in the in the page is the header of the table or the form will be this text. Okay so I will show you once we start creating pages Okay, so now this is the second entity right to have some standard development if application is his student is the classroom student year number ready Student D okay.
Name, gender and race dress here. Name pay on your phone Okay sorry teacher and last one is teachers. Okay, so now, this is the first step in the entity you can do is just to go through all tickets. And write the label of this text what will happen once you write a label here actually the jdeveloper automatically we're will create a property file with a key and value key and the value as you can see. So this is a good way if you want to have your application has multiple language. So what you can do is just create an another beauty file with the same name, but you should write it underscore if or if you want French or AR if you're Arabic or whatever.
So you can copy this file and the way to is underscore and country letters and and you can just keep the key as it is and translate the values. So all now all not only was which we enter here in the entity, it is actually created here in the poverty file. This is the first step What we can do in the object? Let us continue in activity.