SubSonic 3.0.0.3 | SimpleRepository | Formula property/field

subsonicsubsonic3

I need to add Formula property/field on SubSonic | SimpleRepository
Can someone tell me how to? or is it not possible?

br,
No Body

Best Answer

Just add [SubSonicIgnore] to above LineCost

so

        [SubSonicIgnore]
        public decimal LineCost
        {
            get { return Qty * Convert.ToDecimal(LineCost); }
        }

this is happening as LineCost is being mapped to the database.