Ejemplo n.º 1
0
            internal override RecordReference <DynamicRecord> Record(RecordAccess records)
            {
                switch (Type)
                {
                case RecordType.STRING_PROPERTY:
                    return(records.String(Id));

                case RecordType.ARRAY_PROPERTY:
                    return(records.Array(Id));

                case RecordType.PROPERTY_KEY_NAME:
                    return(records.PropertyKeyName(( int )Id));

                case RecordType.RELATIONSHIP_TYPE_NAME:
                    return(records.RelationshipTypeName(( int )Id));

                default:
                    return(skipReference());
                }
            }
Ejemplo n.º 2
0
 protected internal override RecordReference <DynamicRecord> Name(RecordAccess records, int id)
 {
     return(records.PropertyKeyName(id));
 }