llblgen 2.6
Oracle 10g
The following are referenced in my project:
Oracle.DataAccess.dll v.2.102.2.20
SD.LLBLGen.Pro.DQE.Oracle10g.NET20.dll v. 2.6.8.1009
SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll v. 2.6.8.1013
I have two fields (lat, lng). I've tried them as Numeric(15,10) as well as Float. In each case when I try to populate my entity object for this field the value is converted to an int thus truncating the value.
I checked the definition of my field object value that llbgen generates in the nameEntity.cs class:
/// <summary> The Lat property of the Entity CtipMap<br/><br/>
/// </summary>
/// <remarks>Mapped on table field: "CTIP_MAP"."LAT"<br/>
/// Table field type characteristics (type, precision, scale, length): Decimal, 38, 38, 22<br/>
/// Table field behavior characteristics (is nullable, is PK, is identity): false, false, false</remarks>
public virtual System.Decimal Lat
{
get { return (System.Decimal)GetValue((int)CtipMapFieldIndex.Lat, true); }
set { SetValue((int)CtipMapFieldIndex.Lat, value, true); }
}
As you can see it converts the value to an int in with **SetValue **and return.
Any thoughts as to what I'm doing wrong? What other information can I provide?
Thanks,
JL