This site runs best with JavaScript enabled.Spencer Schneidenbach

Get table info for your entities in Entity Framework

I love Entity Framework.  It’s super useful and helps me be super productive.  However, in my heart I love SQL too and I don’t always like having so much of the database abstracted away from me.  To that end, I’ve had to Google for code on how to get table metadata for my Entity Framework entities…

Read Article →

Using AutoMapper with Attributes

UPDATE: don't do this. If you really want to use attributes with maps (I don't recommend it, personally) use the latest version of AutoMapper, which has attribute support built in: https://docs.automapper.org/en/stable/Attribute-mapping.html AutoMapper is awesome.  For those of you who don’t know…

Read Article →