Michael
be51371e57
last changes to webclient
2018-09-20 21:36:41 +02:00
Strati
2dd05d4c2b
fix server/client settings
2018-09-20 20:47:02 +02:00
Andreas Zweili
22f6d0ba72
don't group the cluster directly after the start
2018-09-02 16:08:35 +02:00
Andreas Zweili
e477b25be1
Revert "make sure that foodplaces and relations don't appear twice in the DB"
...
This reverts commit 382b9be68a
.
2018-09-02 15:58:30 +02:00
Andreas Zweili
6e9f708af7
Make sure that the nodes are unique
2018-09-02 14:36:06 +02:00
Andreas Zweili
382b9be68a
make sure that foodplaces and relations don't appear twice in the DB
2018-09-02 12:24:09 +02:00
Andreas Zweili
9592dc9748
allow foodplaces to be duplicates
2018-09-02 12:20:53 +02:00
Andreas Zweili
1a2c02baf2
renam home.aspx to Default.aspx
...
This should hopefully start the page automatically when one runs the project.
2018-08-19 17:31:46 +02:00
Andreas Zweili
19d48555f8
unify line endings
2018-08-07 22:47:14 +02:00
Andreas Zweili
3ce42280d3
Add mappings for the PatientAtFoodPlaceDB
...
I have no idea why we need this but shit keeps breaking without it :)
2018-08-07 22:45:45 +02:00
Andreas Zweili
afe5d23865
properly configure the PatientAtFoodPlace relationship
2018-08-07 22:44:59 +02:00
Andreas Zweili
e592b48987
remove unused code
2018-08-07 22:43:19 +02:00
Andreas Zweili
e87b37e42c
move the ClusterData class to the Models
2018-08-07 22:43:00 +02:00
Andreas Zweili
224383ed0f
add mapping between the service and server entities
2018-08-06 22:52:47 +02:00
Andreas Zweili
f51572ed14
show the whole error message in all contexts
2018-08-06 22:34:35 +02:00
Andreas Zweili
b974d3b185
Merge remote-tracking branch 'origin/WebClient_Dev' into test
2018-08-06 21:55:15 +02:00
Andreas Zweili
5d7b10148e
add mapping for property classes
2018-08-06 21:49:52 +02:00
Andreas Zweili
509df68f00
remove broken code
2018-08-06 21:49:14 +02:00
Strati
94db018d32
edit personDB to fit EF rules
2018-08-05 22:00:49 +02:00
Andreas Zweili
249614e8e4
remove an unused file
2018-08-04 11:51:35 +02:00
Andreas Zweili
61ee07375e
Add exception handling to the DB classes
2018-08-04 11:48:10 +02:00
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
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
Andreas Zweili
c9749047b5
move doctors to their own table
2018-07-28 16:30:00 +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
Andreas Zweili
2a33153a19
Make the city generation a bit prettier
2018-06-30 11:12:57 +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