Hi there,
I have such an object-model:
public interface IHasPhoneNumbers {
Int32 HasPhoneNumberId { get; }
}
public interface IHasCallList {
Int32 HasCallListId { get; }
ICollection<IHasPhoneNumbers> CallList { get; }
}
public class Employee : IHasPhoneNumbers {
public int HasPhoneNumberId { get; private set; }
public Int32 Id { get; private set; }
}
public class Office : IHasPhoneNumbers, IHasCallList {
public int HasPhoneNumberId { get; private set; }
public int HasCallListId { get; private set; }
public Int32 Id { get; private set; }
public ICollection<IHasPhoneNumbers> CallList { get; private set; }
}
How can I map it? Ho can I make Office being a "subclass" both of
IHasPhoneNumbers and IHasCallList?
(I'd ask: "can I use the @extends attribute more than once in a <class> tag?")
Thanks in advance,
Giulio
--
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.