Beispiel #1
0
		 private void SetOwnerNull( SchemaStore schemaStore, StoreIndexDescriptor rule )
		 {
			  rule = rule.WithOwningConstraint( null );
			  IList<DynamicRecord> dynamicRecords = schemaStore.AllocateFrom( rule );
			  foreach ( DynamicRecord record in dynamicRecords )
			  {
					schemaStore.UpdateRecord( record );
			  }
		 }
        internal virtual void SetConstraintIndexOwner(StoreIndexDescriptor storeIndex, long constraintId)
        {
            StoreIndexDescriptor updatedStoreIndex = storeIndex.WithOwningConstraint(constraintId);

            ChangeSchemaRule(storeIndex, updatedStoreIndex);
        }