In order to add new threads or reply to existing posts, you have to be logged-in. If you are not registered yet, you need to register first, and then login with your personal credentials.
Hi Everybody.
I am try save a image into SQL Server 2005 and in my model i have a field called Image, into Product object. Your data type is of System.Byte.
When I generate the classes, the scripts to create the tables and stored procedures, both have a field and parameter, respectively, with a system.byte data type.
This data type is not in SQL Server data types. I have to change to varbinary(max) data type manually?
Hi Marcel,
i have the same error, but now, the data type is byte.
Message: Csla.Data.SafeDataReader' does not contain a definition for 'GetSystem'
line in coude with error: _image = dr.GetSystem.Byte("Image") , but when changed to _image = dr.GetByte("Image") compile with success.
Best Regards
Rogerio
Rogerio,
this is again a mapping issue. The CTP version of CslaFactory only supports a fistful of standard types. We have moved forward and provide an extensible provider system to do the mapping, now. This enables you to use even custom types. (I already commented on this in a prior post.) Unfortunately, you can not use System.Byte in the CTP version.
Marcel