This question is locked. New answers and comments are not allowed.
Hello,
I have created DomainModel (database approach) using OpenAccess Q3 2011, I have table named Employee having column with datatype as varbinary(max).
The generated Employee.generated.cs, gives following warning.
Explicit change tracking required for the array field HumanResource.Employee.employeePhoto. [class=HumanResource.Employee] [field=employeePhoto]
below is the excerpt from Employee.generated.cs
private byte[] employeePhoto;
[Column("EmployeePhoto", OpenAccessType = OpenAccessType.LongVarBinary, IsNullable = true, SqlType = "varbinary(max)")]
[Storage("employeePhoto")]
public virtual byte[] EmployeePhoto
{
get
{
return this.employeePhoto;
}
set
{
this.employeePhoto = value;
}
}
1. Question: how to over come this issue.
I have found this link http://www.telerik.com/help/openaccess-orm/openaccess-tasks-howto-explicit-change-tracking.html , but m confuse where exactly i shall write this mentioned codes.
2. How does OpenAccess handle FileStream?
Thank you!
I have created DomainModel (database approach) using OpenAccess Q3 2011, I have table named Employee having column with datatype as varbinary(max).
The generated Employee.generated.cs, gives following warning.
Explicit change tracking required for the array field HumanResource.Employee.employeePhoto. [class=HumanResource.Employee] [field=employeePhoto]
below is the excerpt from Employee.generated.cs
private byte[] employeePhoto;
[Column("EmployeePhoto", OpenAccessType = OpenAccessType.LongVarBinary, IsNullable = true, SqlType = "varbinary(max)")]
[Storage("employeePhoto")]
public virtual byte[] EmployeePhoto
{
get
{
return this.employeePhoto;
}
set
{
this.employeePhoto = value;
}
}
1. Question: how to over come this issue.
I have found this link http://www.telerik.com/help/openaccess-orm/openaccess-tasks-howto-explicit-change-tracking.html , but m confuse where exactly i shall write this mentioned codes.
2. How does OpenAccess handle FileStream?
Thank you!