Oracl GeoSPatial datatype Problem
Posted: Wed 25 Aug 2010 19:06
Hi,
I have installed Dotconnect for Oralce and generated entity files.
When i was trying to query a table using Linq 2 sql which has a GeoSpatial Datatype called "ST_Geometry", I am getting an error stating that Invalid DataType : "ST_Geometry". When i run query within oracle database, it works fine.
How do i achieve this ? Also i tried executing actual sql statement, but still the error says the same.
You can find the generated code chunk :
[Column(Name = @"SHAPE", Storage = "_Shape", DbType = "ST_GEOMETRY")]
public Devart.Data.Oracle.OracleObject Shape
{
get
{
return this._Shape;
}
set
{
if (this._Shape != value)
{
this.OnShapeChanging(value);
this.SendPropertyChanging();
this._Shape = value;
this.SendPropertyChanged("Shape");
this.OnShapeChanged();
}
}
}
How do i full fill this, Please help in this regards
I have installed Dotconnect for Oralce and generated entity files.
When i was trying to query a table using Linq 2 sql which has a GeoSpatial Datatype called "ST_Geometry", I am getting an error stating that Invalid DataType : "ST_Geometry". When i run query within oracle database, it works fine.
How do i achieve this ? Also i tried executing actual sql statement, but still the error says the same.
You can find the generated code chunk :
[Column(Name = @"SHAPE", Storage = "_Shape", DbType = "ST_GEOMETRY")]
public Devart.Data.Oracle.OracleObject Shape
{
get
{
return this._Shape;
}
set
{
if (this._Shape != value)
{
this.OnShapeChanging(value);
this.SendPropertyChanging();
this._Shape = value;
this.SendPropertyChanged("Shape");
this.OnShapeChanged();
}
}
}
How do i full fill this, Please help in this regards