Hi;
This sample code using spatial data with ODP.NET
[OracleCustomTypeMappingAttribute("MDSYS.SDO_POINT_TYPE"
)]
02.
public
class
SdoPoint : OracleCustomTypeBase<SdoPoint>
03.
{
04.
public
decimal
? X {
get
;
set
; }
05.
public
decimal
? Y {
get
;
set
; }
06.
public
decimal
? Z {
get
;
set
; }
07.
08.
/* ... details omitted for clarity */
09.
}
10.
11.
[OracleCustomTypeMappingAttribute(
"MDSYS.SDO_GEOMETRY"
)]
12.
public
class
SdoGeometry : OracleCustomTypeBase<SdoGeometry>
13.
{
14.
public
decimal
? Sdo_Gtype {
get
;
set
; }
15.
public
decimal
? Sdo_Srid {
get
;
set
; }
16.
public
SdoPoint Point {
get
;
set
; }
17.
public
decimal
[] ElemAray {
get
;
set
; }
18.
public
decimal
[] OrdinatesArray {
get
;
set
; }
19.
20.
/* ... details omitted for clarity */
Please writing me how can I can using Oracle Spatial data with DevForce?
For Example how can I setting to field type of the SDO_GEOMETRY?
Regards