This question is locked. New answers and comments are not allowed.
Hi,
Is it possible to map multiple columns of a table to a user defined struct?
For example, I have a table named "Users" with the columns "FirstName, LastName, LastNamePrefix".
In my domain model, I have a struct called "PersonName", which looks like this:
Using the "classic" OpenAccess, model first approach, I could apply the Persistent attribute to this struct, define a User class and create a property of type PersonName. Then I would simply generate the database.
My question is, how to do this the other way around using the Designer approach?
Greets,
Skywalker
Is it possible to map multiple columns of a table to a user defined struct?
For example, I have a table named "Users" with the columns "FirstName, LastName, LastNamePrefix".
In my domain model, I have a struct called "PersonName", which looks like this:
struct PersonName { public string FirstName; public string LastName; public string LastNamePrefix; }Using the "classic" OpenAccess, model first approach, I could apply the Persistent attribute to this struct, define a User class and create a property of type PersonName. Then I would simply generate the database.
My question is, how to do this the other way around using the Designer approach?
Greets,
Skywalker