public bool GenerateEntity(EntityMetadata entityMetadata, IServiceProvider services) { if (solutionEntities.Any(a => a.LogicalName == entityMetadata.LogicalName)) { return(defaultService.GenerateEntity(entityMetadata, services)); } return(false); }
public bool GenerateEntity(EntityMetadata entityMetadata, IServiceProvider services) { if (entityMetadata.IsCustomEntity.HasValue && entityMetadata.IsCustomEntity.Value) { return(false); } return(defaultService.GenerateEntity(entityMetadata, services)); }