Being Productive With Mouse

I am a big fan of productivity and for myself mouse is usually more of a drag than help when coding. While watching a presentation caught presenter using a mouse in a way I never did, and that was quite productive!

The objective was to create an entity for an ORM. Here’s how it went.

First, a code-first entity was created leveraging prop code snippet.

image

Then pressing ALT key and making of selection of “nothing” in front of all the properties public keyword, including the rows with the mouse. Thin blue line on the left represent this “selection”.

image

Last step is to type virtual and we are done. Now all the properties are marked as virtual for ORM’s satisfaction. What a great way of doing it!

image

 

 

 

 

 

Moral of the story – never say never. Mouse can make you productive sometimes as well Smile

No Comments