When I try create database, get duplicate field
Where / how do you create this? How does this relate to TMS WEB Core?
Sorry for not explaining well...
I was following the master/detail forums, and Wagner mentioned that I could see examples in XData.
I didn't know what was going on initially, since since it uses SQLite, it simply doesn't create the example tables...
Since I use SQL Server and have dbmonitor installed, I can tell the queries that Aurelius tries to execute with BuildDatabase / Updatabase.
The example is in the following path
tms.biz.xdata\demos\web\master-detail\Client.Web
Please let me know if my explanation is clear, otherwise I can prepare a short video.
You care getting a duplicated column probably because your mapping is not correct.
Can you please provide the full mapped classes? How is the other side of the association? Do you have a many-valued association to schools in TProvince class?
This is xdata sample entity
edEntities.pas (2.7 KB)
Examples are very important for those of us who are learning, I always take a look at them in order to learn.
I believe this has been discussed in Master Detail Issue - #4 by Araujo_Adan.