MarimerLLC / cslaforum

Discussion forum for CSLA .NET
https://cslanet.com
Other
31 stars 6 forks source link

Problem when I upgrade from 3.8.2.0 to 4.7.101.0 #564

Open debasisswain1984 opened 6 years ago

debasisswain1984 commented 6 years ago

Question Hi, Greetings!!

I have a VB project which is using CLSA Core dll.

My custom Identity class throws exception if I use the new 4.7.101.0 dlls.

Error BC32087 Overload resolution failed because no accessible 'RegisterProperty' accepts this number of type arguments.

I could not be able to see RegisterProperty methods in csla.security.cslaidentity class in this updated version. The same method were present in old 3.8 csla dlls. Now I find the same RegisterProperty methods in BusinessBase(Of T) class. As this is a VB.Net application , I could not be able to inherit multiple classes.

Is there something changed in CslaIdentity base class? How could I fix it?

Thanks,

Version and Platform CSLA version: 4.7.100 OS: Windows Platform: WinForms

rockfordlhotka commented 6 years ago

There's a new CslaIdentityBase that you should use when creating a custom identity type. The CslaIdentity type is now just a simple implementation of a custom identity type.