public DocumentAttributeGroup(Guid idattributegroup, Guid idarchive, AttributeGroupType type, string descr)
 {
     this.IdArchive        = idarchive;
     this.IdAttributeGroup = idattributegroup;
     this.GroupType        = type;
     this.Description      = descr;
 }
Example #2
0
        public static BindingList <DocumentAttribute> GetAttributesByGroup(Guid idArchive, AttributeGroupType groupType)
        {
            var attributes = GetAttributesFromArchive(idArchive);

            return(new BindingList <DocumentAttribute>(attributes.Where(a => a.AttributeGroup.GroupType == groupType).ToList()));
        }