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;
		}
Exemple #2
0
		public CsdlEntityContainer(string name, string extends, IEnumerable<CsdlEntitySet> entitySets, IEnumerable<CsdlAssociationSet> associationSets, IEnumerable<CsdlFunctionImport> functionImports, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location)
		{
			this.extends = extends;
			this.entitySets = new List<CsdlEntitySet>(entitySets);
			this.associationSets = new List<CsdlAssociationSet>(associationSets);
			this.functionImports = new List<CsdlFunctionImport>(functionImports);
		}
		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;
		}
Exemple #4
0
		internal XmlAnnotationInfo(CsdlLocation location, string namespaceName, string name, string value, bool isAttribute)
		{
			this.Location = location;
			this.NamespaceName = namespaceName;
			this.Name = name;
			this.Value = value;
			this.IsAttribute = isAttribute;
		}
Exemple #5
0
		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;
		}
		public CsdlStringTypeReference(bool? isFixedLength, bool isUnbounded, int? maxLength, bool? isUnicode, string collation, string typeName, bool isNullable, CsdlLocation location) : base((EdmPrimitiveTypeKind)14, typeName, isNullable, location)
		{
			this.isFixedLength = isFixedLength;
			this.isUnbounded = isUnbounded;
			this.maxLength = maxLength;
			this.isUnicode = isUnicode;
			this.collation = collation;
		}
Exemple #7
0
		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 attribute in attributes)
				{
					this.attributes.Add(attribute.Name, attribute);
				}
			}
			this.annotations = annotations;
		}
		public CsdlLabeledExpressionReferenceExpression(string label, CsdlLocation location) : base(location)
		{
			this.label = label;
		}
Exemple #9
0
		public CsdlPathExpression(string path, CsdlLocation location) : base(location)
		{
			this.path = path;
		}
		public CsdlAssociationSetEnd(string role, string entitySet, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location)
		{
			this.role = role;
			this.entitySet = entitySet;
		}
		public CsdlNamedTypeReference(string fullName, bool isNullable, CsdlLocation location) : base(isNullable, location)
		{
			this.fullName = fullName;
		}
Exemple #12
0
		public CsdlUsing(string namespaceName, string alias, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location)
		{
			this.@alias = alias;
			this.namespaceName = namespaceName;
		}
Exemple #13
0
		public CsdlCollectionType(CsdlTypeReference elementType, CsdlLocation location) : base(location)
		{
			this.elementType = elementType;
		}
		public CsdlTemporalTypeReference(EdmPrimitiveTypeKind kind, int? precision, string typeName, bool isNullable, CsdlLocation location) : base(kind, typeName, isNullable, location)
		{
			this.precision = precision;
		}
		public CsdlConstantExpression(EdmValueKind kind, string value, CsdlLocation location) : base(location)
		{
			this.kind = kind;
			this.@value = value;
		}
Exemple #16
0
		public CsdlRowType(IEnumerable<CsdlProperty> properties, CsdlLocation location) : base(properties, null, location)
		{
		}
Exemple #17
0
		public CsdlOnDelete(EdmOnDeleteAction action, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location)
		{
			this.action = action;
		}
		public CsdlFunctionParameter(string name, CsdlTypeReference type, EdmFunctionParameterMode mode, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location)
		{
			this.type = type;
			this.mode = mode;
		}
Exemple #19
0
		public CsdlEnumMember(string name, long? value, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location)
		{
			this.Value = value;
		}
Exemple #20
0
		public CsdlPropertyValue(string property, CsdlExpressionBase expression, CsdlLocation location) : base(location)
		{
			this.property = property;
			this.expression = expression;
		}
Exemple #21
0
		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;
		}
		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 CsdlPropertyReferenceExpression(string property, CsdlExpressionBase baseExpression, CsdlLocation location) : base(location)
		{
			this.property = property;
			this.baseExpression = baseExpression;
		}
		public CsdlEntitySetReferenceExpression(string entitySetPath, CsdlLocation location) : base(location)
		{
			this.entitySetPath = entitySetPath;
		}
Exemple #25
0
		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 CsdlSpatialTypeReference(EdmPrimitiveTypeKind kind, int? srid, string typeName, bool isNullable, CsdlLocation location) : base(kind, typeName, isNullable, location)
		{
			this.srid = srid;
		}
		public CsdlReferentialConstraint(CsdlReferentialConstraintRole principal, CsdlReferentialConstraintRole dependent, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location)
		{
			this.principal = principal;
			this.dependent = dependent;
		}
Exemple #28
0
		public CsdlComplexType(string name, string baseTypeName, bool isAbstract, IEnumerable<CsdlProperty> properties, CsdlDocumentation documentation, CsdlLocation location) : base(name, baseTypeName, isAbstract, properties, documentation, location)
		{
		}
Exemple #29
0
		public CsdlDocumentation(string summary, string longDescription, CsdlLocation location) : base(location)
		{
			this.summary = summary;
			this.longDescription = longDescription;
		}
Exemple #30
0
		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;
		}