how to use the ComputedField?

Topics: Administration, General, Troubleshooting, Writing modules
Jun 14, 2013 at 2:20 AM
Edited Jun 14, 2013 at 2:21 AM
in the Orchard.ContentManagement.Utilities path,there is a class named ComputedField.cs.
now I have a problem as follow:
a FixedAsset class,it have some property,they are AssetName,AssetFirstValue,BuyDate,for example AssetName is IBM Mobile,BuyDate is 2013-1-1, and I want to copute the Month of the IBM Mobile have used utill now(that is 5 months), as the time passed, the Months of the Asset been used may change ,so how to model the FixedAsset if I want to use ComputedField or have any good idea for this problem? thans!
Jun 26, 2013 at 6:39 AM
Didn't you ask that exact same question on StackOverflow?