public CsdlAssociation(string name, CsdlAssociationEnd end1, CsdlAssociationEnd end2, CsdlReferentialConstraint constraint, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location) { this.end1 = end1; this.end2 = end2; this.constraint = constraint; }
public CsdlAnnotation(string term, string qualifier, CsdlExpressionBase expression, CsdlLocation location) : base(location) { this.expression = expression; this.qualifier = qualifier; this.term = term; }
public CsdlAssociationSet(string name, string association, CsdlAssociationSetEnd end1, CsdlAssociationSetEnd end2, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location) { this.association = association; this.end1 = end1; this.end2 = end2; }
public CsdlEnumType(string name, string underlyingTypeName, bool isFlags, IEnumerable<CsdlEnumMember> members, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location) { this.underlyingTypeName = underlyingTypeName; this.isFlags = isFlags; this.members = new List<CsdlEnumMember>(members); }
public CsdlSchema( string namespaceName, string alias, Version version, IEnumerable<CsdlUsing> usings, IEnumerable<CsdlAssociation> associations, IEnumerable<CsdlStructuredType> structuredTypes, IEnumerable<CsdlEnumType> enumTypes, IEnumerable<CsdlFunction> functions, IEnumerable<CsdlValueTerm> valueTerms, IEnumerable<CsdlEntityContainer> entityContainers, IEnumerable<CsdlAnnotations> outOfLineAnnotations, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location) { this.alias = alias; this.namespaceName = namespaceName; this.version = version; this.usings = new List<CsdlUsing>(usings); this.associations = new List<CsdlAssociation>(associations); this.structuredTypes = new List<CsdlStructuredType>(structuredTypes); this.enumTypes = new List<CsdlEnumType>(enumTypes); this.functions = new List<CsdlFunction>(functions); this.valueTerms = new List<CsdlValueTerm>(valueTerms); this.entityContainers = new List<CsdlEntityContainer>(entityContainers); this.outOfLineAnnotations = new List<CsdlAnnotations>(outOfLineAnnotations); }
public CsdlSchema( string namespaceName, string alias, Version version, IEnumerable<CsdlStructuredType> structuredTypes, IEnumerable<CsdlEnumType> enumTypes, IEnumerable<CsdlOperation> operations, IEnumerable<CsdlTerm> terms, IEnumerable<CsdlEntityContainer> entityContainers, IEnumerable<CsdlAnnotations> outOfLineAnnotations, IEnumerable<CsdlTypeDefinition> typeDefinitions, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location) { this.alias = alias; this.namespaceName = namespaceName; this.version = version; this.structuredTypes = new List<CsdlStructuredType>(structuredTypes); this.enumTypes = new List<CsdlEnumType>(enumTypes); this.operations = new List<CsdlOperation>(operations); this.terms = new List<CsdlTerm>(terms); this.entityContainers = new List<CsdlEntityContainer>(entityContainers); this.outOfLineAnnotations = new List<CsdlAnnotations>(outOfLineAnnotations); this.typeDefinitions = new List<CsdlTypeDefinition>(typeDefinitions); }
public CsdlAssociationEnd(string role, CsdlTypeReference type, EdmMultiplicity multiplicity, CsdlOnDelete onDelete, CsdlDocumentation documentation, CsdlLocation location) : base(role, documentation, location) { this.type = type; this.multiplicity = multiplicity; this.onDelete = onDelete; }
public CsdlIfExpression(CsdlExpressionBase test, CsdlExpressionBase ifTrue, CsdlExpressionBase ifFalse, CsdlLocation location) : base(location) { this.test = test; this.ifTrue = ifTrue; this.ifFalse = ifFalse; }
public CsdlProperty(string name, CsdlTypeReference type, bool isFixedConcurrency, string defaultValue, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location) { this.type = type; this.isFixedConcurrency = isFixedConcurrency; this.defaultValue = defaultValue; }
public CsdlBinaryTypeReference(bool? isFixedLength, bool isUnbounded, int? maxLength, string typeName, bool isNullable, CsdlLocation location) : base(EdmPrimitiveTypeKind.Binary, typeName, isNullable, location) { this.isFixedLength = isFixedLength; this.isUnbounded = isUnbounded; this.maxLength = maxLength; }
protected CsdlNamedStructuredType(string name, string baseTypeName, bool isAbstract, IEnumerable<CsdlProperty> properties, CsdlDocumentation documentation, CsdlLocation location) : base(properties, documentation, location) { this.isAbstract = isAbstract; this.name = name; this.baseTypeName = baseTypeName; }
public CsdlTerm(string name, CsdlTypeReference type, string appliesTo, string defaultValue, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location) { this.type = type; this.appliesTo = appliesTo; this.defaultValue = defaultValue; }
public CsdlDirectValueAnnotation(string namespaceName, string name, string value, bool isAttribute, CsdlLocation location) : base(location) { this.namespaceName = namespaceName; this.name = name; this.value = value; this.isAttribute = isAttribute; }
public CsdlNavigationProperty(string name, string relationship, string toRole, string fromRole, bool containsTarget, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location) { this.relationship = relationship; this.toRole = toRole; this.fromRole = fromRole; this.containsTarget = containsTarget; }
public CsdlEntityContainer(string name, string extends, IEnumerable<CsdlEntitySet> entitySets, IEnumerable<CsdlSingleton> singletons, IEnumerable<CsdlOperationImport> operationImports, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location) { this.extends = extends; this.entitySets = new List<CsdlEntitySet>(entitySets); this.singletons = new List<CsdlSingleton>(singletons); this.operationImports = new List<CsdlOperationImport>(operationImports); }
public CsdlStringTypeReference(bool isUnbounded, int? maxLength, bool? isUnicode, string collation, string typeName, bool isNullable, CsdlLocation location) : base(EdmPrimitiveTypeKind.String, typeName, isNullable, location) { this.isUnbounded = isUnbounded; this.maxLength = maxLength; this.isUnicode = isUnicode; this.collation = collation; }
public CsdlEntityType(string name, string baseTypeName, bool isAbstract, bool isOpen, bool hasStream, CsdlKey key, IEnumerable<CsdlProperty> properties, IEnumerable<CsdlNavigationProperty> navigationProperties, CsdlDocumentation documentation, CsdlLocation location) : base(name, baseTypeName, isAbstract, isOpen, properties, documentation, location) { this.key = key; this.hasStream = hasStream; this.navigationProperties = new List<CsdlNavigationProperty>(navigationProperties); }
public CsdlActionImport( string name, string schemaOperationQualifiedTypeName, string entitySet, CsdlDocumentation documentation, CsdlLocation location) : base(name, schemaOperationQualifiedTypeName, entitySet, new CsdlOperationParameter[] { }, null /*returnType*/, documentation, location) { }
public CsdlNavigationProperty(string name, string type, bool? nullable, string partner, bool containsTarget, CsdlOnDelete onDelete, IEnumerable<CsdlReferentialConstraint> referentialConstraints, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location) { this.type = type; this.nullable = nullable; this.partner = partner; this.containsTarget = containsTarget; this.onDelete = onDelete; this.referentialConstraints = referentialConstraints; }
/// <summary> /// Initializes a new instance of the <see cref="CsdlAction"/> class. /// </summary> /// <param name="name">The name.</param> /// <param name="parameters">The parameters.</param> /// <param name="returnType">The return type of the function.</param> /// <param name="isBound">if set to <c>true</c> [is bound].</param> /// <param name="entitySetPath">The entity set path.</param> /// <param name="documentation">The documentation.</param> /// <param name="location">The location in the csdl document of the function.</param> public CsdlAction( string name, IEnumerable<CsdlOperationParameter> parameters, CsdlTypeReference returnType, bool isBound, string entitySetPath, CsdlDocumentation documentation, CsdlLocation location) : base(name, parameters, returnType, isBound, entitySetPath, documentation, location) { }
public CsdlFunctionImport( string name, string schemaOperationQualifiedTypeName, string entitySet, bool includeInServiceDocument, CsdlDocumentation documentation, CsdlLocation location) : base(name, schemaOperationQualifiedTypeName, entitySet, new CsdlOperationParameter[] { }, null /*returnType*/, documentation, location) { this.IncludeInServiceDocument = includeInServiceDocument; }
protected CsdlOperationImport( string name, string schemaOperationQualifiedTypeName, string entitySet, IEnumerable<CsdlOperationParameter> parameters, CsdlTypeReference returnType, CsdlDocumentation documentation, CsdlLocation location) : base(name, parameters, returnType, documentation, location) { this.entitySet = entitySet; this.SchemaOperationQualifiedTypeName = schemaOperationQualifiedTypeName; }
internal XmlElementInfo(string elementName, CsdlLocation elementLocation, IList<XmlAttributeInfo> attributes, List<XmlAnnotationInfo> annotations) { this.Name = elementName; this.Location = elementLocation; if (attributes != null && attributes.Count > 0) { this.attributes = new Dictionary<string, XmlAttributeInfo>(); foreach (XmlAttributeInfo newAttr in attributes) { Debug.Assert(!this.attributes.ContainsKey(newAttr.Name), "Multiple attributes with the same name are not supported"); this.attributes.Add(newAttr.Name, newAttr); } } this.annotations = annotations; }
public CsdlFunctionImport( string name, bool sideEffecting, bool composable, bool bindable, string entitySet, string entitySetPath, IEnumerable<CsdlFunctionParameter> parameters, CsdlTypeReference returnType, CsdlDocumentation documentation, CsdlLocation location) : base(name, parameters, returnType, documentation, location) { this.sideEffecting = sideEffecting; this.composable = composable; this.bindable = bindable; this.entitySet = entitySet; this.entitySetPath = entitySetPath; }
private IEdmNavigationProperty ParseSingleConstraint(string property, string referencedProperty, CsdlLocation location = null) { var constraint = new CsdlReferentialConstraint(property, referencedProperty, location); var testSubject = new CsdlSemanticsNavigationProperty(this.semanticEntityType, new CsdlNavigationProperty("Fake", "Fake.Fake", false, "Fake", false, null, new[] { constraint }, null)); return(testSubject); }
public CsdlDocumentation(string summary, string longDescription, CsdlLocation location) : base(location) { this.summary = summary; this.longDescription = longDescription; }
public CsdlLabeledExpression(string label, CsdlExpressionBase element, CsdlLocation location) : base(location) { this.label = label; this.element = element; }
internal XmlElementValue(string name, CsdlLocation location, TValue newValue) : base(name, location) { this.@value = newValue; }
public CsdlExpressionTypeReference(ICsdlTypeExpression typeExpression, bool isNullable, CsdlLocation location) : base(isNullable, location) { this.typeExpression = typeExpression; }
public CsdlEnumMember(string name, long?value, CsdlLocation location) : base(name, location) { this.Value = value; }
public CsdlAssociationSetEnd(string role, string entitySet, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location) { this.role = role; this.entitySet = entitySet; }
public CsdlReferentialConstraint(string propertyName, string referencedPropertyName, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location) { this.propertyName = propertyName; this.referencedPropertyName = referencedPropertyName; }
protected CsdlTypeReference(bool isNullable, CsdlLocation location) : base(location) { this.isNullable = isNullable; }
public CsdlUntypedTypeReference(string typeName, CsdlLocation location) : base(typeName, true, location) { }
public CsdlNavigationPropertyBinding(string path, string target, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location) { this.path = path; this.target = target; }
public CsdlEntityContainer(string name, string extends, IEnumerable <CsdlEntitySet> entitySets, IEnumerable <CsdlSingleton> singletons, IEnumerable <CsdlOperationImport> operationImports, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location) { this.extends = extends; this.entitySets = new List <CsdlEntitySet>(entitySets); this.singletons = new List <CsdlSingleton>(singletons); this.operationImports = new List <CsdlOperationImport>(operationImports); }
public CsdlPropertyPathExpression(string path, CsdlLocation location) : base(path, location) { }
public CsdlFunctionReferenceExpression(string function, CsdlLocation location) : base(location) { this.function = function; }
public CsdlConstantExpression(EdmValueKind kind, string value, CsdlLocation location) : base(location) { this.kind = kind; this.value = value; }
public CsdlCollectionExpression(CsdlTypeReference type, IEnumerable <CsdlExpressionBase> elementValues, CsdlLocation location) : base(location) { this.type = type; this.elementValues = new List <CsdlExpressionBase>(elementValues); }
public CsdlReferentialConstraint(CsdlReferentialConstraintRole principal, CsdlReferentialConstraintRole dependent, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location) { this.principal = principal; this.dependent = dependent; }
public CsdlReferentialConstraintRole(string role, IEnumerable <CsdlPropertyReference> properties, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location) { this.role = role; this.properties = new List <CsdlPropertyReference>(properties); }
public CsdlUsing(string namespaceName, string alias, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location) { this.alias = alias; this.namespaceName = namespaceName; }
protected CsdlNamedElement(string name, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location) { this.name = name; }
public CsdlElement(CsdlLocation location) { this.location = location; }
public CsdlPropertyReferenceExpression(string property, CsdlExpressionBase baseExpression, CsdlLocation location) : base(location) { this.property = property; this.baseExpression = baseExpression; }
protected CsdlStructuredType(IEnumerable <CsdlProperty> properties, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location) { this.properties = new List <CsdlProperty>(properties); }
public CsdlSpatialTypeReference(EdmPrimitiveTypeKind kind, int? srid, string typeName, bool isNullable, CsdlLocation location) : base(kind, typeName, isNullable, location) { this.srid = srid; }
public CsdlExpressionBase(CsdlLocation location) : base(location) { }