Calling Model methods using Linq
Here is a trick I learned today on how to call methods defined on a model.
Basically query the database for the fields in it and convert it to an Enumerable. You can then call the model methods
Example:
var allCoupons = responderCtx.Coupons
.Whe...
cwizsoftware.com1 min read