Linq: fetch the record by checking the range of attributes

Below is the table schema which i will use to make u understand the phenomenon id bigint AmountUpTO decimal Fee decimal the code for fetching the admin fee according to to the range of the Amount Up to is below   BTRatesDataContext db = new BTRatesDataContext(); var adminFees = from a in db.AdminFees where a.AmountUpto [...]

Follow

Get every new post delivered to your Inbox.