public IEnumerable <IConceptInfo> CreateNewConcepts(RowPermissionsPluginableFiltersInfo conceptInfo, IDslModel existingConcepts) { var rowPermissionsRead = new RowPermissionsReadInfo() { Source = conceptInfo.DataStructure, Parameter = RowPermissionsReadInfo.FilterName }; rowPermissionsRead.SimplifiedExpression = GetSnippetRowPermissionsFilter(conceptInfo, RowPermissionsPluginableFiltersInfo.ReadFilterExpressionsTag.Evaluate(rowPermissionsRead)); var rowPermissionsWrite = new RowPermissionsWriteInfo() { Source = conceptInfo.DataStructure, Parameter = RowPermissionsWriteInfo.FilterName }; rowPermissionsWrite.SimplifiedExpression = GetSnippetRowPermissionsFilter(conceptInfo, RowPermissionsPluginableFiltersInfo.WriteFilterExpressionsTag.Evaluate(rowPermissionsWrite)); CheckForIncompatibleSpecificRowPermissionsFilter(existingConcepts, rowPermissionsRead, conceptInfo); CheckForIncompatibleSpecificRowPermissionsFilter(existingConcepts, rowPermissionsWrite, conceptInfo); return(new IConceptInfo[] { rowPermissionsRead, rowPermissionsWrite }); }
public void InitializeNonparsableProperties(out IEnumerable<IConceptInfo> createdConcepts) { Dependency_RowPermissionsRead = new RowPermissionsReadInfo { Source = InheritFromInfo.RowPermissionsFilters.DataStructure, Parameter = RowPermissionsReadInfo.FilterName, }; createdConcepts = null; }
public void InitializeNonparsableProperties(out IEnumerable <IConceptInfo> createdConcepts) { Dependency_RowPermissionsRead = new RowPermissionsReadInfo { Source = InheritFromInfo.RowPermissionsFilters.DataStructure, Parameter = RowPermissionsReadInfo.FilterName, }; createdConcepts = null; }