Skip to main content
Question

Easy way to make multiple DACs with the same fields?

  • November 26, 2024
  • 0 replies
  • 26 views

Forum|alt.badge.img+1

I’m looking for the ability to create a bunch of DACs that all have the same fields without retyping the fields each time. So, for example I might have 3 different DACs that I want to bind to 3 different database tables. But the actual fields should be identical. Is there any easy way of doing this?
 

My thought was to use DAC inheritance, where I’d have an abstract base class DAC A and then all my children DACs would automatically get the fields from DAC A added but still actually reference the different database tables behind the scenes. To be clear there wouldn’t actually be a database table for DAC A.

If this isn’t possible not a big deal, it just means more copying and pasting for me.

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings