Hi,
I am using table inheritence and finding that my custom composite user
type in my subclass is not being persisted. All the other properties
are being set correctly.
[ActiveRecord("Promotion"), JoinedBase]
public class PromotionRecord : ActiveRecordBase<PromotionRecord>
{
}
[ActiveRecord("CustomPromotion")]
public class CustomPromotionRecord : PromotionRecord
{
[CompositeUserType(typeof(MoneyCompositeUserType), new string[]
{ "MinimumPurchaseAmount", "MinimumPurchaseCurrencyId" })]
public Money MinimumPurchaseAmount { get; set; }
}
When I turn off inheritence and use
CustomPromotionRecord : ActiveRecordBase<CustomPromotionRecord > the
composite type is saved perfectly.
Has anyone experienced this problem?
Thanks
Michael
--
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.