Home » Server Options » Spatial » OracleInProcServer Sdo_Geometry problem
OracleInProcServer Sdo_Geometry problem [message #430370] Tue, 10 November 2009 03:47
ahmad34
Messages: 1
Registered: November 2009
Junior Member
Hi,

I use C# com object OracleInProcServer but I can not get sdo element info too:

OracleInProcServer.OraSession oraDBSession = (OracleInProcServer.OraSession)new OracleInProcServer.OraSessionClassClass();
OracleInProcServer.OraDatabase oraDB = (OracleInProcServer.OraDatabase)oraDBSession.get_OpenDatabase(this.dbName, this.userInfo, 0);
OracleInProcServer.OraDynaset dynSet = (OracleInProcServer.OraDynaset)oraDB.get_CreateDynaset(sql, 0, ref obj);
OracleInProcServer.OraObject oraObj;
OracleInProcServer.OraCollection oraColl;
OracleInProcServer.OraFields oraFs;
OracleInProcServer.OraField oraF;

while (!dynSet.EOF)
{
oraFs = (OracleInProcServer.OraFields)dynSet.Fields;
oraF = (OracleInProcServer.OraField)oraFs["GEOM_COLUMN"];
oraObj = (OracleInProcServer.OraObject)oraF.Value;
...

dynSet.MoveNext();
}

I can get all data types (int, varchar ...) however I could not get sdo_geometry type.
There is no property to get like oraObj.sdo_elem_info.
How can I get sdo element info from oraObj?

Lots of Greetings!
Ahmad

[Updated on: Tue, 10 November 2009 03:48]

Report message to a moderator

Previous Topic: Least Effort Index
Next Topic: Rubber Sheeting
Goto Forum:
  


Current Time: Mon Dec 22 04:52:37 CST 2014

Total time taken to generate the page: 0.17685 seconds