Thread: EF Version
View Single Post
  #1 (permalink)  
Old December 9th, 2015, 09:39 AM
SHOOGN SHOOGN is offline
Authorized User
Points: 218, Level: 4
Points: 218, Level: 4 Points: 218, Level: 4 Points: 218, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2015
Posts: 46
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote