VS Shortcuts | Shortcut keys for Visual Studio
asp.net mvc 3 - Create a Dropdown List for MVC3 using Entity Framework (.edmx Model) & Razor Views && Insert A Database Record to Multiple Tables asp.net mvc 3 - Create a Dropdown List for MVC3 using Entity Framework (.edmx Model) & Razor Views && Insert A Database Record to Multiple Tables Well, actually I'll have to say David is right with his solution, but there are some topics disturbing me: You should never send your model to the view => This is correct If you create a ViewModel , and include the Model as member in the ViewModel , then you effectively sent your model to the View => this is BAD Using dictionaries to send the options to the view => this not good style So how can you create a better coupling? I would use a tool like AutoMapper or ValueInjecter to map between ViewModel and Model. AutoMapper does seem to have the better syntax and feel to it, but the current version lacks a very severe topic: It is not able to perform the mapping from ViewModel to Model (under certain circumstances like flattening, etc., but this is off topic) So at present I prefer to use ValueInjecter . So you create a ViewModel with the fields you need in the view.
c# - Trying to include Query within MongoDB MapReduce call Looks like it has matched your call to a different overload to the one you think you are calling i.e. you're intending to call the (query, map, reduce) overload but actually it's calling the (map, reduce, options) overload. This gives you the error as your third arg is not a valid options argument. c# - Trying to include Query within MongoDB MapReduce call