.NET Development
C# command equivalent to scatter name
Gravatar is a globally recognized avatar based on your email address. C# command equivalent to scatter name
  Alejandro A Sosa
  All
  Oct 8, 2021 @ 05:21am

Is there a command in C# that is equivalent to SCATTER NAME?

Thank you very much.

Alex

Gravatar is a globally recognized avatar based on your email address. re: C# command equivalent to scatter name
  Rick Strahl
  Alejandro A Sosa
  Oct 8, 2021 @ 10:27am

There's no such thing in the language or framework.

You can take a look at Westwind.Utilities and the DataUtils.CopyObject() which uses reflection to copy a flat object or - if you're using datasets - DataUtils.CopyobjectFromDataRow(). There are other helpers that let you retrieve results as object list, although if you're doing that you probably should look into something like Entity Framework, or Dapper.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: C# command equivalent to scatter name
  Alejandro A Sosa
  Rick Strahl
  Oct 13, 2021 @ 07:18am

Thank you very much Rick.

Alex

© 1996-2021