Hi,
I am not sure where the fault lies in this but we are attempting to get a string out of a mysql longtext column.
In the designer, the entity type uses a .NET type of string and the Field Mapping to the MySQL database shows the Longtext column with no warnings or error messages. However, when attempting to use the entity, we get the following exception:
System.InvalidCastException: 'Unable to cast object of type 'System.Byte[]' to type 'System.String'."
The pertinent code from the entity:
public virtual System.String PossibleResponses
{
get { return (System.String)GetValue((int)QuestionsFieldIndex.PossibleResponses, true); }
set { SetValue((int)QuestionsFieldIndex.PossibleResponses, value); }
}
The exception is generated in the getter.
We are using Devart version 8.10 as the connector, and LLBL v5.2 RTM (5.2.3)
As I said at the beginning, I am not sure if this is an LLBL or Devart problem so I thought I would post in both places.