Skip to content

Instantly share code, notes, and snippets.

@vector623
Created March 19, 2018 14:40
Show Gist options
  • Save vector623/7245bb6575b7f977f580bfc8d0eeee26 to your computer and use it in GitHub Desktop.
Save vector623/7245bb6575b7f977f580bfc8d0eeee26 to your computer and use it in GitHub Desktop.
Example of object initialization.
var apolloUpdateAdjustment = new Apollo.UpdateAdjustment
{
supply = record["SUPPLY"].ToString(),
prosales = record["ProSales"].ToString(),
release_date = record["Release Date"].ToString(),
reason_for_update = record["Reason For Update"].ToString(),
itemid = Convert.ToInt64(record["ItemID"].ToString()),
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment