public static ClientDataSet.EntityNodeTypeDataTable GetCustomEntityNodeTypesByEntityId(Guid organizationId, Guid?instanceId, Guid entityId) { using (EntityNodeTypeTableAdapter adapter = new EntityNodeTypeTableAdapter(OrganizationProvider.GetConnectionString(organizationId))) { return(adapter.GetEntityNodeTypesByEntityId(entityId, organizationId, instanceId)); } }