title: How to insert SDO_GEOMETRY object variable from C# code into oracle table containing coloumn of sdo_geometry type?
body: <p>I am having an SDO_GEOMETRY object variable that fetches sdo_geometry type data from map. I need to save this data into table as SDO_Geometry field. I was able to successfully fetch SDO_GEOMETRY field from Table and use it , now i am blocked in saving the fetched SDO_Geometry field.</p>
  
  <p>I have a stored procedure that can take SDO_Geometry type variable as input.</p>
  
  <pre><code>     P_GEOMETRY IN  MDSYS.SDO_GEOMETRY, -- this is the input parameter of Stored Procedure
  </code></pre>
  
  <p>my code that provides sdo_geometry type of object is :</p>
  
  <pre><code>    parameter.AddWithValue("P_GEOMETRY", geom, OracleDbType.Object, ParameterDirectionWrap.Input);
  </code></pre>
  
  <p>where geom is sdo_geometry class object that contains sdo_geometry field. the error i am getting in my sample .net application is </p>
  
  <pre><code>     Invalid parameter binding 
       Parameter name: P_GEOMETRY
  </code></pre>
  
  <p>which is the best way to avoid this problem.</p>