public static EntityId GetEntityIdStruct(this SchemaObject obj, uint fieldId)
 {
     return(new EntityId(obj.GetEntityId(fieldId)));
 }