private IEdmEntityType ComputeEntityType() { IEdmTypeReference type = CsdlSemanticsModel.WrapTypeReference(this.schema, this.entityTypeReference.EntityType); return(type.TypeKind() == EdmTypeKind.Entity ? type.AsEntity().EntityDefinition() : new UnresolvedEntityType(this.schema.UnresolvedName(type.FullName()), this.Location)); }
private IEdmTypeReference ComputeType() { return(CsdlSemanticsModel.WrapTypeReference(this.Schema, this.expression.Type)); }
private IEdmTypeReference ComputeType() { return(CsdlSemanticsModel.WrapTypeReference(this.declaringOperation.Context, this.parameter.Type)); }
private IEdmTypeReference ComputeDeclaredType() { return(this.expression.Type != null?CsdlSemanticsModel.WrapTypeReference(this.Schema, this.expression.Type) : null); }
private IEdmTypeReference ComputeElementType() { return(CsdlSemanticsModel.WrapTypeReference(this.schema, this.collection.ElementType)); }
private IEdmTypeReference ComputeType() { return(CsdlSemanticsModel.WrapTypeReference(this.Context, this.term.Type)); }
private IEdmTypeReference ComputeType() { return(CsdlSemanticsModel.WrapTypeReference(this.declaringType.Context, this.property.Type)); }
private IEdmTypeReference ComputeReturnType() { return(CsdlSemanticsModel.WrapTypeReference(this.Context, this.operation.ReturnType)); }