Example #1
0
        public CommandRequestMap()
        {
            Polymorphism.Implicit();
            Not.LazyLoad();
            Id(x => x.CommandRequestID);
            Map(x => x.CommandDetails).Not.Nullable();
            Map(x => x.CommandID).Not.Nullable();
            Map(x => x.DateTimeUpdated).Not.Nullable();
            Map(x => x.Priority).Not.Nullable();

            DiscriminateSubClassesOnColumn("CommandType").Not.Nullable();
        }