Skip to content

Instantly share code, notes, and snippets.

@usausa
Created June 30, 2020 12:54
Show Gist options
  • Save usausa/e2111c44fecbe654b73d5d8e83073718 to your computer and use it in GitHub Desktop.
Save usausa/e2111c44fecbe654b73d5d8e83073718 to your computer and use it in GitHub Desktop.
INSERT INTO Data (Id, Name) VALUES
/*% for (var i = 0; i < list.Count; i++) { */
/*% if (i != 0) { */
/*! , */
/*% } */
/*% var entity = list[i]; */
(/*@ entity.Id */1, /*@ entity.Name */'test')
/*% } */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment