partial void DeleteKeyRestriction(KeyRestriction instance);
 partial void InsertKeyRestriction(KeyRestriction instance);
 partial void UpdateKeyRestriction(KeyRestriction instance);
 private void detach_KeyRestrictions(KeyRestriction entity)
 {
     this.SendPropertyChanging();
     entity.ApiKey = null;
 }
 partial void DeleteKeyRestriction(KeyRestriction instance);
 partial void UpdateKeyRestriction(KeyRestriction instance);
 partial void InsertKeyRestriction(KeyRestriction instance);
		private void detach_KeyRestrictions(KeyRestriction entity)
		{
			this.SendPropertyChanging();
			entity.ApiKey = null;
		}