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); }
public void Refresh() { m_CustomNodeTypes = null; }