A couple of issues I'm finding.  Please confirm.

1423
1
01-18-2012 04:43 AM
JiroShirota
New Contributor
Maybe it's just me, but I'm finding these issues.  I'm using the .NET wrapper.  I haven't tested the C++ dll.

1. Envelope

The overload constructor, which takes xmin, ymin, xmax and ymax (in this order), is not properly initializing the properties.

        Envelope envelope = new Envelope(1, 2, 3, 4);

        Console.WriteLine(envelope.xMin);
        Console.WriteLine(envelope.yMin);
        Console.WriteLine(envelope.xMax);
        Console.WriteLine(envelope.yMax);

This is returning:

1
3
2
4

2. DateTime

For some reason, if I assign Jan 18, 2012 to a field.  It actually assigns Feb 18, 2012 in the database.

This issue seems to be consistent for both the Getter and the Setter, so when programmatically retrieve the value that I just entered, I get the correct date Jan 18, 2012.
0 Kudos
1 Reply
VinceAngelo
Esri Esteemed Contributor
Lance has indicated that fixes for both are in the next release.

- Vhttp://forums.arcgis.com/threads/45342-Row.SetDate()-throws-exception?p=157413&viewfull=1#post157413
0 Kudos