Example #1
0
        public Boolean Equals(UUIDIndex p)
        {
            // If parameter is null return false:
            if ((object)p == null)
            {
                return false;
            }

            if (this.IndexName != p.IndexName)
            {
                return false;
            }

            if (this.IndexEdition != p.IndexEdition)
            {
                return false;
            }

            if (this.IndexKeyDefinition != p.IndexKeyDefinition)
            {
                return false;
            }

            return true;
        }
Example #2
0
        public Exceptional CreateUUIDIndex(DBContext myDBContext, AttributeUUID myUUID)
        {
            var _NewUUIDIndex = new UUIDIndex(SpecialTypeAttribute_UUID.AttributeName, new IndexKeyDefinition(myUUID), this, ObjectDirectoryShards);

            return new Exceptional(AddAttributeIndex(_NewUUIDIndex, myDBContext));
        }