Ejemplo n.º 1
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;
		}
Ejemplo n.º 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);
        }