Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public abstract class BaseClass
- {
- ...
- }
- public class ChildClass : BaseClass
- {
- ...
- }
- DiscriminateSubClassesOnColumn<byte>("Type")
- .SubClass<ChildClass>()
- .IsIdentifiedBy((byte)OperationType.Plan)
- .MapSubClassColumns(p => { ... })
- SetAttribute("discriminator-value", "-1");
- DiscriminateSubClassesOnColumn<sbyte>("Type", (sbyte)-1)
Add Comment
Please, Sign In to add comment