p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional ASP.NET 4.5 : in C# and VB (http://p2p.wrox.com/forumdisplay.php?f=736)
-   -   EF Version (http://p2p.wrox.com/showthread.php?t=95334)

SHOOGN December 9th, 2015 09:39 AM

EF Version
 
When I was work on VS Express 2013 in Entity Framework there are 3 problem but when I debug the site its work normally I worked under adventureworks database 2012 (Professional asp.net 4.5 in C# and VB book)
VS Give me message ask me there are two version of EF (4,6) this message appear after generate the database..
this the message:
Warning 3 Compiling transformation: Variable 'lazyLoadingAttributeValue' is passed by reference before it has been assigned a value. A null reference exception could result at runtime. E:\ProASP\Chapter11\App_Code\EmployeeDM.tt6701 Chapter11

Warning 2: Compiling transformation: Variable 'errors' is passed by reference before it has been assigned a value. A null reference exception could result at runtime. E:\ProASP\Chapter11\App_Code\EmployeeDM.tt 6161 Chapter11

Warning 1 :Error 6005: The data type 'hierarchyid' is currently not supported for the target Entity Framework version; the column 'OrganizationNode' in the table 'E:\PROASP\CHAPTER11\APP_DATA\ADVENTUREWORKS2012_D ATA.MDF.HumanResources.Employee' was excluded. E:\ProASP\Chapter11\App_Code\EmployeeDM.edmx11 Chapter11


All times are GMT -4. The time now is 01:08 PM.

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