public Reference CreateRef(string key) { var returnVal = new Reference(this.Root); returnVal.ResetKey(key); returnVal.Ref = this.Id; returnVal.RefType = ReferenceType.CustomView; return returnVal; }