devvvy

devvvy

  • NA
  • 5
  • 0

WCF - DataMember an interface okay?

Mar 3 2009 4:41 AM
Is this okay? Property which is an interface?

[Serializable()]
public class Person : ISerializable
{

 ...
 [DataMember()]
 IGroup Group {
   get {...}
   set {...}
  }
  ...
}

Seems like "Group" is always populated as "null" by WCF?

Thanks