public PointClass MakePoint(int x, int y) { PointClass retVal = new PointClass(); retVal.Int = x + y; retVal.Double = x * y; retVal.Shape = new Point(x, y); retVal.Shape.SRID = -1; return retVal; }