public class Address : Entity {
    [Field]
    public GeoCoordinate Coordinates { get; set; }
}

public class GeoCoordinate : Structure {
    [Field]
    public double Latitude { get; set; }
    [Field]
    public double Longitude { get; set; }
}

When I create an Address and set address.Coordinates.Latitude or .Longitude, it fires GeoCoordinate.OnSetFieldValue("Coordinates", oldValue, newValue)

it should be firing GeoCoordinate.OnSetFieldValue("Latitude", oldValue, newValue) and GeoCoordinate.OnSetFieldValue("Longitude", oldValue, newValue)

this is in the latest build for VS2010.

This thread was imported from our support forum. The original discussion may contain more detailed answer.

asked May 23 '10 at 19:56

ara's gravatar image

ara
395858791

To be checked ASAP.

(May 23 '10 at 19:56) Alex Yakunin Alex%20Yakunin's gravatar image

The issue is fixed today.

(May 23 '10 at 19:56) Dmitri Maximov Dmitri%20Maximov's gravatar image

DataObjects.Net 4.3 RC2 is updating (this will be finished in ~ 30 min.), this fix is already there.

There is also a bit updated Manual: chapters 1 and 2 now reflect the changes we've made in v4.3.

(May 23 '10 at 19:56) Alex Yakunin Alex%20Yakunin's gravatar image
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

Subscription:

Once you sign in you will be able to subscribe for any updates here

Tags:

×573

Asked: May 23 '10 at 19:56

Seen: 1,389 times

Last updated: May 23 '10 at 19:56

powered by OSQA