p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio (http://p2p.wrox.com/forumdisplay.php?f=477)
-   -   Chapter 2, Compile Error's (http://p2p.wrox.com/showthread.php?t=93724)

naveedanjum October 20th, 2014 01:55 PM

Chapter 2, Compile Error's
 
Dear,

I am following the instructions to develop the project. After completing the data access layer, when i try to compile the solution, the following errors pops up:


Error 3 'V2.PaidTimeOffDAL.CustomizedEntities.ENTUserAccou nt' does not implement interface member 'V2.PaidTimeOffDAL.Framework.IENTBaseEntity.Update ENTUserAccountId' E:\Naveed Projects\PaidTimeOffSolution\V2.PaidTimeOffDAL\Cus tomizedEntities.cs 7 30 V2.PaidTimeOffDAL

The above error with all four other properties is propagated.

The second error is:

Error 7 The type 'V2.PaidTimeOffDAL.ENTUserAccount' cannot be used as type parameter 'T' in the generic type or method 'V2.PaidTimeOffDAL.Framework.ENTBaseData<T>'. There is no implicit reference conversion from 'V2.PaidTimeOffDAL.ENTUserAccount' to 'V2.PaidTimeOffDAL.Framework.IENTBaseEntity'. E:\Naveed Projects\PaidTimeOffSolution\V2.PaidTimeOffDAL\Fra mework\ENTUserAccountData.cs 8 18 V2.PaidTimeOffDAL

Please help me to resolve the problem.

Regards

naveedanjum October 21st, 2014 03:52 PM

I resolve the problem. Actually my problem was that i have added the partial classes inside CustomizedEntities class. Due to this reason, the compiler was unable to find the other part of partial class.

cottonmega December 18th, 2014 03:32 PM

Fix for curl
 
Thanks I will check this again this evening. I appreciate your looking into this. Regards Roy Cotton


All times are GMT -4. The time now is 12:35 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.