private bool IsDuplicateName(string _name)
        {
            var q = _assettypes.Count(x => x.Name == _name);

            return(q > 1);
        }
示例#2
0
 private bool IsDuplicateName(string _name)
 {
     return(SpecificationProperties.Count(x => x.PropertyUnit == _name) > 1);
 }
示例#3
0
 private bool IsDuplicateName(string _name)
 {
     return(_customers.Count(x => x.Name == _name && x.ID != Customer.ID) > 0);
 }
示例#4
0
 private bool IsDuplicateName(string _name)
 {
     return(SalesDivisions.Count(x => x.Name == _name) > 1);
 }
        private bool IsDuplicateCode(string _name)
        {
            var q = _filteredassetgroups.Count(x => x.AssetGroupIDText == _name);

            return(q > 1);
        }