Andreas Zweili
548a1a6672
Set the datatype Date for the VisitingDate property
...
It makes more sense to store the VisitingDate as Date instead of DateTime. Since
we most likely don't know the exact time someone visits a FoodPlace.
2018-08-04 11:45:08 +02:00
Andreas Zweili
1eb4f1e793
unify line endings
2018-08-04 11:16:26 +02:00
Strati
37f9c81472
update service reference
2018-08-01 11:13:23 +02:00
Strati
6b8c81f019
Merge branch 'master' into WebClient_Dev
2018-07-30 17:56:08 +02:00
Andreas Zweili
c27452c07e
change the Patient class to Person in the service
...
Since all persons can be patients it doesn't make sense to have a seperate
Patient class.
2018-07-29 16:53:36 +02:00
Andreas Zweili
1c5bf7b9e9
Add a WriteRelation method to the service
2018-07-29 16:48:33 +02:00
Andreas Zweili
c71ec890ca
ensure that the node id are unique in the cluster
2018-07-29 14:12:57 +02:00
Andreas Zweili
715d581c8a
Add a patient model to the server
2018-07-29 12:40:28 +02:00
Andreas Zweili
12b8de2c57
add a WriteStrain method to the service
2018-07-29 12:39:45 +02:00
Andreas Zweili
3a0d6eeb78
change the cluster to work with patient-foodplace relations
2018-07-29 12:15:40 +02:00
Andreas Zweili
d2687f363b
eagerly load the FoodPlace.City and FoodPlace.City.Country
2018-07-29 12:14:20 +02:00
Andreas Zweili
f616e72f82
remove unnecessary using statements
2018-07-29 12:06:22 +02:00
Strati
3bee0d7b9a
change forms
2018-07-28 18:27:59 +02:00
Andreas Zweili
c9749047b5
move doctors to their own table
2018-07-28 16:30:00 +02:00
Strati
d4cf23c9ff
edit forms to fit english language
2018-07-28 13:47:47 +02:00
Strati
0b2fb702ad
Merge branch 'master' into WebClient_Dev
2018-07-28 10:47:56 +02:00
Andreas Zweili
fa52ed2706
skip unkown cluster ids when opening the clusters
...
if someone opens a cluster manually it doesn't exits anymore in the cluster.
However the clusterIndex has still the same size.
Which makes the openClusters function fail.
This an easy workaround to get around this problem.
2018-07-26 21:38:25 +02:00
Andreas Zweili
52c09a7383
increase the font size of the clusters
2018-07-26 21:38:01 +02:00
Andreas Zweili
d50dfd9ffb
add group functionality to the cluster
2018-07-26 21:12:15 +02:00
Andreas Zweili
053be700da
make the cluster frame a bit smaller
2018-07-26 19:55:16 +02:00
Andreas Zweili
c3ace53b97
add an info message to the cluster page
2018-07-26 19:51:05 +02:00
Andreas Zweili
156c488b9e
add the cluster visualisation to the server
2018-07-26 19:32:05 +02:00
Andreas Zweili
a0b870d476
improve the doctor generation
2018-07-08 20:04:52 +02:00
Andreas Zweili
a25cd1a18c
extend the city generation
2018-07-08 20:04:30 +02:00
Andreas Zweili
9261e513c1
remove unused city generation code
2018-07-08 12:47:33 +02:00
Strati
060ec425fa
make major changes to views
2018-07-01 15:32:50 +02:00
Strati
f1721e1c25
Merge branch 'master' into WebClient_Dev
2018-07-01 12:29:13 +02:00
Andreas Zweili
2a33153a19
Make the city generation a bit prettier
2018-06-30 11:12:57 +02:00
Strati
f837fa35c1
add foodplace button
2018-06-30 08:04:14 +02:00
Andreas Zweili
3788e7bb5c
update the doctor creation to create more data
2018-06-30 08:00:02 +02:00
Andreas Zweili
b30e57e007
readd the virtual attribute
...
the virtual attribute is required to get the additional information
from the database. The reason why it failed when getting an object was
because lazy loading doesn't work on through WCF services.
To eagerly load the properties of an instance we have to use .include
in the context. In addition the ProxyCreationEnabled = false is
required because it will fail again. I'm not sure yet why exactly.
2018-06-29 23:31:13 +02:00
Andreas Zweili
4b3cfcd922
add a streetnumber to the person model
2018-06-28 23:49:27 +02:00
Andreas Zweili
49ed940705
remove all the unused usings
2018-06-28 23:49:00 +02:00
Andreas Zweili
7255a55b83
add a many to many relationship between person and foodplace
2018-06-28 23:23:03 +02:00
Andreas Zweili
3f8ed6d43b
add fluent API property mappings
...
These are required to have a database whith a good configuration.
Otherwise only the application checks if the data arrives as it
should.
2018-06-28 23:12:47 +02:00
Andreas Zweili
798c23cc0e
remove unnecessary code
2018-06-28 23:01:07 +02:00
Andreas Zweili
e454a19d61
Change all the List properties to ICollection
...
Apparently one should develop against an interface and not against the
implementation because the interface defines the contract.
https://stackoverflow.com/questions/7655845/icollectiont-vs-listt-in-entity-framework
2018-06-28 22:59:23 +02:00
Andreas Zweili
ffa552c8de
move the Result class into the Exam class
...
Since we only insert patients which are infected from the beginning it
doesn't make sense to have the result table.
2018-06-28 22:47:27 +02:00
Andreas Zweili
6299a166b2
add the foodplace model to the service
2018-06-25 22:14:04 +02:00
Andreas Zweili
d025ed1b01
extend the service with a GetCities and GetCountries method
2018-06-25 20:45:39 +02:00
Andreas Zweili
f5795dc45d
Correct the doctor ID
2018-06-23 11:10:22 +02:00
Andreas Zweili
b7fd5753a2
remove unnecessary properties
2018-06-23 11:08:13 +02:00
Andreas Zweili
70614786c5
Merge branch 'WebClient_Dev' of git.2li.ch:ibz/oop_AM-6 into WebClient_Dev
2018-06-23 11:06:51 +02:00
Andreas Zweili
9363b84099
Revert "Add the virtual parameter to properties"
...
If we use virtual properties the objects can't get transfered.
This reverts commit e7faf6ce82
.
2018-06-23 11:06:24 +02:00
Andreas Zweili
0099cfb6c2
Revert "Add the virtual parameter to properties"
...
If we use virtual properties the objects can't get transfered.
This reverts commit e7faf6ce82
.
2018-06-23 10:53:12 +02:00
Strati
33753c8dc8
changes client content
2018-06-17 17:08:06 +02:00
Strati
27d37473f6
Merge branch 'master' into WebClient_Dev
2018-06-17 15:06:00 +02:00
Strati
f0c9a88d40
adds some functions
2018-06-10 19:34:30 +02:00
Andreas Zweili
e0d2b7c9dc
Merge branch 'server_dev'
2018-06-04 16:01:50 +02:00
Andreas Zweili
ea3fd1f939
remove the "infected" property
...
Since we only enter data about infected patients it doesn't make any
sense to have a property which shows if they are infected or not.
2018-06-04 16:00:17 +02:00