engiIsAttrInverseBN

This call can be used to check if an attribute is an inverse relation. Technically engiIsAttrInverseBN will transform into the following call

    engiIsAttrInverse(
            sdaiGetAttrDefinition(
                    entity,
                    attributeName
                )
        );

Syntax

public const string enginedll = @"engine.dll";

[DllImport(enginedll, EntryPoint = "engiIsAttrInverseBN")]
public static extern bool x86_engiIsAttrInverseBN(Int32 entity, string attributeName);

[DllImport(enginedll, EntryPoint = "engiIsAttrInverseBN")]
public static extern bool x64_engiIsAttrInverseBN(Int64 entity, string attributeName);

public static bool engiIsAttrInverseBN(Int64 entity, string attributeName)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_engiIsAttrInverseBN((Int32)entity, attributeName);
				return _result;
			}
			else
			{
				return x64_engiIsAttrInverseBN(entity, attributeName);
			}
		}

[DllImport(enginedll, EntryPoint = "engiIsAttrInverseBN")]
public static extern bool x86_engiIsAttrInverseBN(Int32 entity, byte[] attributeName);

[DllImport(enginedll, EntryPoint = "engiIsAttrInverseBN")]
public static extern bool x64_engiIsAttrInverseBN(Int64 entity, byte[] attributeName);

public static bool engiIsAttrInverseBN(Int64 entity, byte[] attributeName)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_engiIsAttrInverseBN((Int32)entity, attributeName);
				return _result;
			}
			else
			{
				return x64_engiIsAttrInverseBN(entity, attributeName);
			}
		}    

Property entity

Size: 32 bit / 4 byte (value)
...

Property attributeName

Size: 32 bit / 4 byte (reference)
...