Question: You are asked to write a C# application to create the WESTEROS database (based on the fictional characters of the Game of Thrones by G.G.

You are asked to write a C# application to create the WESTEROS database (based on the fictional characters of the Game of Thrones by G.G. Martin). The database consists of two classes: Castle, and Person. Classes contain Fields, Properties, and Methods. The database schema is shown below. Implement each of the properties, fields and methods of the classes shown above. You will include at least three castles and no less than three people per castle.

A reference to the Game of Thrones characters follows: https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF8#q=characters%20game%20of%20thrones Another useful reference is: http://gameofthrones.wikia.com/wiki/Great_Houses

NOTES: (1) Feel free to add methods and properties to enhance the model.

(2) Find methods must be based on the Dictionary-class.

(3) Add tests to prove the functioning of each method supported by the classes.

(4) Organization, documentation, and niceness is important and will definitely affect your grade The following fragment is an illustration of the work ahead Castle c1 = new Castle("House Stark", "Winterfell"); Person p1 = new Person("Arya", "Stark", 12); p1.HomeCastle = c1; Console.WriteLine("P1 " + p1); Person p2 = new Person("Jon", "Snow", 20, c1); c1.AddPerson(new Person("Sansa", "Stark", 14)); Console.WriteLine("C1 " + c1);

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!