Why do you think it's returning bool? return Load(criteria).FinalizacaoContabil.HasValue; >
HasValue is a boolean property of nullable types. Did you mean return Load(criteria).FinalizacaoContabil ?? MyEnum.DefaultValueOfEnum; -Markus --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
