public override AttributesToSave GetAttributesToSave(ISystemContext context)
{
AttributesToSave attributesToSave = base.GetAttributesToSave(context);
if (!NodeId.IsNull(m_referenceTypeId))
{
attributesToSave |= AttributesToSave.ReferenceTypeId;
}
if (!NodeId.IsNull(m_typeDefinitionId))
{
attributesToSave |= AttributesToSave.TypeDefinitionId;
}
if (!NodeId.IsNull(m_modellingRuleId))
{
attributesToSave |= AttributesToSave.ModellingRuleId;
}
if (m_numericId != 0)
{
attributesToSave |= AttributesToSave.NumericId;
}
return attributesToSave;
}