Hi,
I want to implement a property in an EntityClass that has no representation in a database table. E. g. have .net code place content in this column.
I tried to add a property in a partial class, but had no success when then later using this entity as binduingsource for a grid. I tried to tag the property with [DataMember] but was not successful either any helpü is appreciated.
Here is as far as I got it... The property is accessible, values in thsi property can be read and changed, but when using this Entityclass as underlying datasource for a grid, the unmapped prperty is not available.
public partial class MyEntityClass
{
private byte[] _Image;
[DataMember]
public byte[] myIMAGE
{
get { return this._Image; }
set { this._Image = value; }
}
}
Thank you
Andreas