Hello, i want to map this simple model

public interface Inter
 {
   Guid Id { get; set; }
 }

public class A
 {
  public virtual Inter A { get; set }
 }

public class B : Inter
 { ... }
public clas C: Inter
 { ... }

The reference held by A can point to B or C, thanks to the interface.
How do I map that?

-- 
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.

Reply via email to