Back to list
Views:   3.6K
Replies:  0

The dynamic keyword in Art.Domain project

I was navigating through the Spark framework and I was digging into the Core.cs file to understand the repository pattern that is getting used when I stumbled on this head scratcher.  In the InitMap method I see that within your foreach loop of the columns I am a getting intellisense on the dynamic keyword of column (see attached screenshot).  I'm wondering how this was achieved?  I can't find any way of replicating the same sort of intellisense on a dynamic keyword.

Best regards,
Jeff Nelson, Jan 31, 2014
I figured it out. Apparently .Net is a lot smarter than me. I was discovered that you must have the Microsoft.CSharp reference added to the project. The reference is able to figure out the intellisense properties for a dynamic object.
Feb 03, 2014

Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.3.0