jonwagner / Insight.Database

Fast, lightweight .NET micro-ORM
Other
856 stars 145 forks source link

Insertion of different nested objects #468

Closed srigithub99 closed 2 years ago

srigithub99 commented 2 years ago

Hi All, I know there is way to insert an object[Beer] or list of objects [ list of beers ]. But can we insert different objects [ Beer, Cake, Cookie ] or list of different objects ?? Since there is a provision of getting multiple result sets , is there a way for insertion too ? . Any replies would be appreciated.

jonwagner commented 2 years ago

It depends on what you're trying to do:

Jaxelr commented 2 years ago

@srigithub99 you can get multiple result sets, see the result structures wiki page for more information.

Insight is by design pretty flexible, therefore you can get all exotic using the record readers to populate your objects too.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.