This question is locked. New answers and comments are not allowed.
Hello,
VS2010 + OpenAccess Q2.2010 + MSSQL 2008 R2 Express
Reverse mapping NorthwindOA database tables, and re-build the solution/project.
Output:
It seems three 'image' fields (Category, Employee, LargeEmployee tables) fail to be forward mapped when re-building the solution/project.
Thus, if I create a new 'MyCustomer.cs' with [Telerik.OpenAccess.Persistent()] enabled, forward mapping will not be successful after re-build the solution/project, nor Telerik > OpenAccess > Database Operations > Update Database can be successful.
Should I ignore these warnings? If I manually add new fields in the model classes, then forward mapping will fail, and Update Database operation will thrown an error.
Please advise me. Thanks!
VS2010 + OpenAccess Q2.2010 + MSSQL 2008 R2 Express
Reverse mapping NorthwindOA database tables, and re-build the solution/project.
Output:
"c:\program files (x86)\telerik\openaccess orm\sdk\VEnhance.exe" -assembly:"C:\Telerik_Learn\OpenAccess_ORM\GettingStarted\obj\x86\Debug\GettingStarted.exe" -config:"C:\Telerik_Learn\OpenAccess_ORM\GettingStarted\App.config" -verboseMode:1 -reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.dll" -reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll" -reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Xml.Linq.dll" -reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Data.DataSetExtensions.dll" -reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\Microsoft.CSharp.dll" -reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Data.dll" -reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Xml.dll" -reference:"C:\Program Files (x86)\Telerik\OpenAccess ORM\bin\Telerik.OpenAccess.dll" -reference:"C:\Program Files (x86)\Telerik\OpenAccess ORM\bin\Telerik.OpenAccess.35.Extensions.dll" -reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\mscorlib.dll"<
br
>C:\Telerik_Learn\OpenAccess_ORM\GettingStarted\Category.cs(10, 1): warning:OpenAccess Warning: Explicit change tracking required for the array field GettingStarted.Category.picture. [class=GettingStarted.Category] [field=picture]<
br
><
br
>OpenAccess Warning: Explicit change tracking required for the array field GettingStarted.Category.picture. [class=GettingStarted.Category] [field=picture]<
br
>C:\Telerik_Learn\OpenAccess_ORM\GettingStarted\Employee.Telerik.OpenAccess.cs(10, 1): warning:OpenAccess Warning: Explicit change tracking required for the array field GettingStarted.Employee.photo. [class=GettingStarted.Employee] [field=photo]<
br
><
br
>OpenAccess Warning: Explicit change tracking required for the array field GettingStarted.Employee.photo. [class=GettingStarted.Employee] [field=photo]<
br
>C:\Telerik_Learn\OpenAccess_ORM\GettingStarted\LargeEmployee.cs(10, 1): warning:OpenAccess Warning: Explicit change tracking required for the array field GettingStarted.LargeEmployee.photo. [class=GettingStarted.LargeEmployee] [field=photo]
It seems three 'image' fields (Category, Employee, LargeEmployee tables) fail to be forward mapped when re-building the solution/project.
Thus, if I create a new 'MyCustomer.cs' with [Telerik.OpenAccess.Persistent()] enabled, forward mapping will not be successful after re-build the solution/project, nor Telerik > OpenAccess > Database Operations > Update Database can be successful.
Should I ignore these warnings? If I manually add new fields in the model classes, then forward mapping will fail, and Update Database operation will thrown an error.
Please advise me. Thanks!