BExIS.Web.Shell.Areas.RPM.Controllers.DataAttributeController.attributeInUse C# (CSharp) Method

attributeInUse() public method

public attributeInUse ( DataAttribute attribute ) : bool
attribute BExIS.Dlm.Entities.DataStructure.DataAttribute
return bool
        public bool attributeInUse(DataAttribute attribute)
        {
            if (attribute.UsagesAsVariable.Count() == 0 && attribute.UsagesAsParameter.Count() == 0)
                return false;
            else
                return true;
        }