This question is locked. New answers and comments are not allowed.
I have a testproject containing an N-Tier solution using WCF Plain Service and OpenAccess ORM Free Edition.
I have created a Windows Form that uses Four Data tables. My WCF Service returns BindingLists that I have databound my Controls to.
On the Form I have an Save Button. When I press it I want to call an Update Method in the WCF Service where I pass along my four Bindinglists. When It gets down to the Business Logic Layer I want to create a transaction and save the Changes in the four database tables.
How do I accomplish this?
The table SysAnvandare is the parent table and the tables SysAnvInstallning and SysAnvRoller are Child tables and the database has Foreign Key constraints between them.
I need help to write the code that uses DataAccess ORM to save these tables to the database.
In My Service Class I have defined this method:
I have created a Windows Form that uses Four Data tables. My WCF Service returns BindingLists that I have databound my Controls to.
On the Form I have an Save Button. When I press it I want to call an Update Method in the WCF Service where I pass along my four Bindinglists. When It gets down to the Business Logic Layer I want to create a transaction and save the Changes in the four database tables.
How do I accomplish this?
The table SysAnvandare is the parent table and the tables SysAnvInstallning and SysAnvRoller are Child tables and the database has Foreign Key constraints between them.
I need help to write the code that uses DataAccess ORM to save these tables to the database.
In My Service Class I have defined this method:
Public Sub UpdateSysAnvandare(dtoSysAnvandare As SysAnvandareDto, dtoSysAnvInstallning As SysAnvInstallningDto, dtoSysAnvRoller As SysAnvRollerDto
)
End Sub