Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mapping file for table that has two classes for maintained for attribute mapping

Raghusham Sankargal
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I have a table Employee with fields
For this I have defined classes

The reason I have a class called UserInfo is because I can use this class for all other tables. The usage of UserInfo inside employee is given below

1. I am not sure whether I can do like this or not. Would you please tell whether I can do this way?
2. I had even problems to put the Mapping class too for the same. Would you please how I can do this?

Thanks in advance,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic