protected override IEdmTerm ComputeTerm()
		{
			IEdmStructuredType edmStructuredType = base.Schema.FindType(this.Annotation.Term) as IEdmStructuredType;
			object unresolvedTypeTerm = edmStructuredType;
			if (edmStructuredType == null)
			{
				unresolvedTypeTerm = new UnresolvedTypeTerm(base.Schema.UnresolvedName(this.Annotation.Term));
			}
			return (IEdmTerm)unresolvedTypeTerm;
		}
Beispiel #2
0
        protected override IEdmTerm ComputeTerm()
        {
            IEdmStructuredType edmStructuredType  = base.Schema.FindType(this.Annotation.Term) as IEdmStructuredType;
            object             unresolvedTypeTerm = edmStructuredType;

            if (edmStructuredType == null)
            {
                unresolvedTypeTerm = new UnresolvedTypeTerm(base.Schema.UnresolvedName(this.Annotation.Term));
            }
            return((IEdmTerm)unresolvedTypeTerm);
        }