Esempio n. 1
0
        public EntityNodeTypeCollection GetCustomNodeTypes(Guid organizationId, Guid?instanceId)
        {
            EntityNodeTypeCollection customNodeTypes = new EntityNodeTypeCollection();

            foreach (ClientDataSet.EntityNodeTypeRow entRow in EntityNodeProvider.GetCustomEntityNodeTypesByEntityId(organizationId, instanceId, this.Id).Rows)
            {
                EntityNodeType ent = new EntityNodeType();
                ent.Id          = entRow.EntityNodeTypeId;
                ent.OrderNumber = entRow.OrderNumber;
                ent.Name        = entRow.Name;
                customNodeTypes.Add(ent);
            }
            customNodeTypes.Sort();
            return(customNodeTypes);
        }
Esempio n. 2
0
 public void Refresh()
 {
     m_CustomNodeTypes = null;
 }