I have a Raster DEM and I would like to extract elevations from it based on the lat longs and update those elevation values in the database. I have searched for classes and functions in ArcPy to deal with this task. I found RasterToNumPy() function but I am not able to understand what this function does and how could I use it to make my job done. Any help in founding the right function in ArcPy to deal with Raster data or a sample script would be greatly appreciated.
Perhaps you are looking for the Extract Values to Points Tool?
Also, your question is about arcpy but you filed it into the space for ArcGIS JS API, which is different thing. Arcpy is the Python interface. If you can, move your question to the Python space so more Python developers can see it.