示例#1
0
        private static CsdlNavigationPropertyPathExpression OnNavigationPropertyPathExpression(XmlElementInfo element, XmlElementValueCollection childValues)
        {
            XmlTextValue text = childValues.FirstText;

            return(new CsdlNavigationPropertyPathExpression(text != null ? text.TextValue : string.Empty, element.Location));
        }
示例#2
0
        private static CsdlConstantExpression ConstantExpression(EdmValueKind kind, XmlElementValueCollection childValues, CsdlLocation location)
        {
            XmlTextValue text = childValues.FirstText;

            return(new CsdlConstantExpression(kind, text != null ? text.TextValue : string.Empty, location));
        }