Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 01:06

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Can anyone check my ER model?

Discussion on Can anyone check my ER model? within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2012
Posts: 370
Received Thanks: 20
Can anyone check my ER model?

Well, i am in a making of an ER model..
Can anyone guide me a bit?

[IMG][/IMG]
Hikarim is offline  
Old 06/15/2013, 23:53   #2
 
Netzgeist's Avatar
 
elite*gold: 72
Join Date: Mar 2009
Posts: 265
Received Thanks: 72
Quote:
i dont know where i should include the PERSON entity
persons have accomondations which may or may not include events. does the hotel have all the persons or are there persons who are not related to the hotel (accomondation requirements)?
Netzgeist is offline  
Thanks
1 User
Old 06/16/2013, 09:34   #3
 
elite*gold: 0
Join Date: Apr 2012
Posts: 370
Received Thanks: 20
The hotel has all the persons, who are accomodated in rooms/appartments ... and those persons can join events. and the hotel is hosting those events
Hikarim is offline  
Old 06/16/2013, 18:28   #4
 
Netzgeist's Avatar
 
elite*gold: 72
Join Date: Mar 2009
Posts: 265
Received Thanks: 72
so put persons next to hotel since the hotel will register any events/accomondations for them.
Netzgeist is offline  
Thanks
1 User
Old 06/16/2013, 22:18   #5
 
elite*gold: 0
Join Date: Apr 2012
Posts: 370
Received Thanks: 20
I tryed to think through and fixed my model a bit... Do you think i did right that i connected EVENTS with PERSONS, even tough the hotel is the organizer, but only hotel customers attend, so i tought this way is good, or am i wrong?

And, do you think i di ok with the accomodation and its connections?
[IMG][/IMG]
Hikarim is offline  
Old 06/17/2013, 05:57   #6
 
Netzgeist's Avatar
 
elite*gold: 72
Join Date: Mar 2009
Posts: 265
Received Thanks: 72
If the hotel can create/modify and link persons to events, youll also need to visualize this connection. rest looks okay to me.
Netzgeist is offline  
Thanks
1 User
Old 06/17/2013, 09:11   #7
 
elite*gold: 0
Join Date: Apr 2012
Posts: 370
Received Thanks: 20
So there should be a link between HOTEL -> EVENTS and PERSONS -> EVENTS, right?
Hikarim is offline  
Old 06/17/2013, 10:33   #8
 
elite*gold: 71
Join Date: May 2013
Posts: 449
Received Thanks: 64
basically, thats not an ER-Model.

You have to use "relations" between 2 entities.

for exmaple:
AT0MiX is offline  
Old 06/17/2013, 10:37   #9
 
Netzgeist's Avatar
 
elite*gold: 72
Join Date: Mar 2009
Posts: 265
Received Thanks: 72
Sure but this way only:

Event:
- has list<person>persons
- has type
- has name

Person:
- has accoms
- may have additional unique data

Accom:
- has capacity
- has list<item> inventory
- has type
- has price

Hotel:
- has list<event> (add/rem/mod)
- has list<person> (add/rem/mod)
- has list<accom> (add/rem/mod)
-- (add/rem/mod) persons to events
-- (add/rem/mod) accoms to persons


To clarify:
Ask yourself what a person actually does irl to join an event or sign an accom: He asks the hotel to do so.
Netzgeist is offline  
Thanks
1 User
Old 06/17/2013, 11:09   #10
 
elite*gold: 0
Join Date: Apr 2012
Posts: 370
Received Thanks: 20
So, i made another(fixed) model, i hope i made it right
[IMG][/IMG]

So, i the connection betwwen EVENTS-PERSONS right?, i connected HOTEL->EVENTS, because the hotel can make events, delete them etc,...and EVENTS-> PERSONS, because each event has a person that attends (or something in that logic), or should i make another entity LIST and connect it like this: EVENTS->LIST<-PERSONS ?

ok, i actually done the whole thing and tested with with a base, and it works, so i would like to tank you for all the help Netzgeist, Thank you!
Hikarim is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Model viewer und model dateien finden und in cinema 4d importieren
09/20/2012 - Aion - 1 Replies
Hallo Ich würde gerne mir die Aion Models fuer ein anderes Game nehmen und diese in cinema 4d importieren. Bisher habe ich die .pak datei entpackt und in der dort entstandenen zip datei viele dateien gefunden. Nach suchen bin ich zur erkenntnis gekommen das ie .cgf dateien die model sind (richtig?) MNun weiss ich aber nicht wie ich mir diese anschauen kann und dann in cinema 4d importieren kann. gibt es dafuer irgendein tool?
about the 2012 new pets model files and the weapon model files!
09/19/2012 - SRO Private Server - 2 Replies
who can tell me how to add the new pets in silkroad?and who can tell me how te add the new weapons silkroad? who can share 2012 new pets model files?THANKS!!!
Flyff.a check b check[ SonGoku sammlung aller Fragen]
08/07/2012 - Flyff Private Server - 4 Replies
Hey Leute nun ich use die Chaos Files als Test einfahc mal so... nun ist da dieser Flyff.b check oder a.check damit keiner die datasubs manupulieren kann... soo nun mache ich sie in programm und starte alle Server aber gehe ich ingam ekann ich immernoch range asal machen und Client crasht nichtmal... 2 Frage noch antihack er wird bei mir Ingam enicht angezeigt was hat den Chaos Files für eine Headmark weis es einer?
[WTT]No CRC check and gg bypass for dekaron eu and no crc check for 2moons
10/18/2008 - Dekaron Trading - 1 Replies
Look at the title:rolleyes: I wanna trade it for 50mill on dekaron eu. just add me to msn for proofs [email protected]



All times are GMT +2. The time now is 01:06.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.