Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.
//1. check if productId, PromotionId and Serial number exist var p = (from s in _dataContext.Consumers where s.ProductId == model.ProductId && s.PromotionId == model.PromotionsId && s.ProductSerialNumber == model.SerialNumber select s); if (p != null) //row exists return false;
if exists (select * from consumer where [ProductId] = @productId And [ProductSerialNumber] = @SerialNumber and [PromotionId] = @PromotionId) return false
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.