Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Contributor
2726 Points
1364 Posts
May 23, 2008 10:19 PM|LINK
In the end this seems to work:
Thanks for your help. I have a long way to go to understanding casting for this and IEnumerable stuff.
dba123
Contributor
2726 Points
1364 Posts
Re: Cannot implicitly convert type 'System.Collections.Generic.IEnumerable<xxx>' to 'System.Colle...
May 23, 2008 10:19 PM|LINK
In the end this seems to work:
hhDbRoleProvider roleProvider = new hhDbRoleProvider(); List<xxx.BusinessInterfaces.Security.IRole> hhRoles = (List<xxx.BusinessInterfaces.Security.IRole>)roleProvider.RetrieveAllRoles();Thanks for your help. I have a long way to go to understanding casting for this and IEnumerable stuff.