Skip to content

Instantly share code, notes, and snippets.

@cymen
Created June 10, 2012 05:55
Show Gist options
  • Save cymen/2904052 to your computer and use it in GitHub Desktop.
Save cymen/2904052 to your computer and use it in GitHub Desktop.
ViewBag.MyObject = myObjectManager
.GetAllMyObjectBy(isForFoo: true, orderBy: MyObjectColumns.Name)
.AsSelectList(myObjectId)
.WithDefault();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment