protected override void EntitySpecificationAction(IFindSpecification <Project> specification)
 {
     specification.AddInclude($"{nameof(Project.Modules)}.{nameof(Module.Items)}.{nameof(Item.FeatureSettings)}");
     specification.AddInclude($"{nameof(Project.Modules)}.{nameof(Module.ItemsRelationships)}");
 }
示例#2
0
 protected override void EntitySpecificationAction(IFindSpecification <Project> specification)
 => specification.AddInclude(x => x.Modules);
 protected override void EntitySpecificationAction(IFindSpecification <Item> specification)
 {
     specification.AddInclude(x => x.Module.Project);
     specification.AddInclude(x => x.Module.ItemsRelationships);
     specification.AddInclude(x => x.FeatureSettings);
 }