Get all entities associated with another of a specific type
Namespace:
SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Public Shared Function GetAssociatedEntities( _
ByVal entity_id As EntityID, _
ByVal type As EntityType, _
ByVal expected_type As EntityType, _
ByVal db As IDatabase _
) As List(Of AssociatedEntity)
This language is not supported or no code example is available.
public static List<AssociatedEntity> GetAssociatedEntities(
EntityID entity_id,
EntityType type,
EntityType expected_type,
IDatabase db
)
This language is not supported or no code example is available.
public:
static List<AssociatedEntity^>^ GetAssociatedEntities(
EntityID^ entity_id,
EntityType type,
EntityType expected_type,
IDatabase^ db
)
This language is not supported or no code example is available.
Parameters
- entity_id
-
Type: EntityID
the id of the entity we're looking at associations for
- type
-
Type: EntityType
the type of the entity we're looking for
- expected_type
-
Type: EntityType
the expected types we're looking for
- db
-
Type: IDatabase
the database
Return Value
Type: List<AssociatedEntity>the list of associated entities