Games & Quizzes
Don't forget to Sign In to save your points
This is a modal window.
PERFECT HITS | +NaN | |
HITS | +NaN | |
LONGEST STREAK | +NaN | |
TOTAL | + |
Hello and welcome to modeling data relationships with OutSystems.
This is a follow-up to modeling data, so if you haven't watched that lesson yet
please do so before proceeding.. When we talked about data modeling, we described it as the process of mapping
concepts of your application into data types. Now, data types are rarely
isolated, they normally are connected in some way, they are related in some way
and in this particular lesson we will use a data model around the concepts of
books and authors and publishers to describe how these relationships can be
obtained in the OutSystems platform. Before we go into the specifics of
OutSystems. let's talk a little bit about how data is referenced in general terms, in
databases. You have the concept of a primary key, this is a way to uniquely
identify a particular record of your data type. Now, primary keys can be of two
kinds, they can either be a simple primary key, where a single attribute on
that database table dictates the uniqueness of the record, or a composite
primary key, whereby a collection of columns in the database table dictates a
unique record. Now, from the viewpoint of a second data type that wants to
reference a data type that has a primary key, you have the concept of a foreign
key. The foreign key, on a record of the second data type, will hold the value of
the primary key, on the record of the first data type, that it wants to
/ˈprīˌmerē/
principal. preliminary election. run as opponent of incumbent in preliminary election.
/ˈwelkəm/
gladly received. used to greet someone in polite or friendly way. Friendly greeting to someone who has arrived. To accept or receive something happily and gladly.
/rəˈlāSH(ə)nˌSHip/
way in which two or more people or things are connected. Ways in which people interact/live with each other.
/pə(r)ˈtikyələr/
singling out individual member of group. individual item.