Argument types do not match exception when map RAW to Guid
Posted: Sun 23 Nov 2008 05:36
Support we want to map Role in OraDirect's Membership Provider to Entity. We open Entity Developer, drag table ASPNET_ROLES, and map as Role Entity. With property ROLEID, we map as RoleId with type Guid (Server Data Type is RAW(16))
When retrieve an entity like:
The exception Argument types do not match occur.
Any suggestion? Thanks
When retrieve an entity like:
Code: Select all
SecurityDataContext db = new SecurityDataContext();
Role role1 = db.Roles.SingleOrDefault(p => p.ApplicationName == "/" && p.RoleName == "Administrator");
Any suggestion? Thanks