Whil debugging an unrelated problem, I had accidently set some properties to PrivateFields. As I was examining something else, I noticed the Relationship types we set to "Child | LazyLoad" instead of "PrivateField". Checking the enum, I noticed the enum was not numbered:
[Flags]
public enum RelationshipTypes
{
None,
Child,
LazyLoad,
PrivateField,
}
I added the the bit values and this appeared to clear up the strange values for myself.
[Flags]
public enum RelationshipTypes
{
None = 0,
Child = 1,
LazyLoad = 2,
PrivateField = 4,
}
Now this problem did not affect what I was working on, but I thought it may help others if they are having issues with RelationshipTypes.
Looks like a bug - but I've forwarded it to Jonny so he can take a look.
Yes, thanks for reporting this - it is a bug.
Registred as http://www.lhotka.net/cslabugs/edit_bug.aspx?id=768
Fixed and checked in to repository now.
Copyright (c) Marimer LLC