Esempio n. 1
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);
		}
 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;
 }
Esempio n. 3
0
 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);
 }
Esempio n. 4
0
		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;
		}
Esempio n. 5
0
 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);
 }
Esempio n. 6
0
 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);
 }
Esempio n. 7
0
        public CsdlEntityType(string name, string baseTypeName, bool isAbstract, bool isOpen, CsdlKey key, IEnumerable<CsdlProperty> properties, IEnumerable<CsdlNavigationProperty> navigationProperties, CsdlDocumentation documentation, CsdlLocation location)
            : base(name, baseTypeName, isAbstract, properties, documentation, location)
        {
            this.isOpen = isOpen;
            this.key = key;

            this.navigationProperties = new List<CsdlNavigationProperty>(navigationProperties);
        }
Esempio n. 8
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 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;
 }
Esempio n. 10
0
		public CsdlEntitySet(string name, string entityType, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location)
		{
			this.entityType = entityType;
		}
Esempio n. 11
0
 public CsdlFunctionParameter(string name, CsdlTypeReference type, EdmFunctionParameterMode mode, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location)
 {
     this.type = type;
     this.mode = mode;
 }
Esempio n. 12
0
 public CsdlEntitySet(string name, string entityType, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location)
 {
     this.entityType = entityType;
 }
Esempio n. 13
0
		public CsdlFunctionParameter(string name, CsdlTypeReference type, EdmFunctionParameterMode mode, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location)
		{
			this.type = type;
			this.mode = mode;
		}
Esempio n. 14
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;
 }
Esempio n. 15
0
		public CsdlUsing(string namespaceName, string alias, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location)
		{
			this.@alias = alias;
			this.namespaceName = namespaceName;
		}
Esempio n. 16
0
		protected CsdlStructuredType(IEnumerable<CsdlProperty> properties, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location)
		{
			this.properties = new List<CsdlProperty>(properties);
		}
Esempio n. 17
0
		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;
		}
Esempio n. 18
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;
 }
Esempio n. 19
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;
 }
 public CsdlElementWithDocumentation(CsdlDocumentation documentation, CsdlLocation location) : base(location)
 {
     this.documentation = documentation;
 }
 public CsdlReferentialConstraint(CsdlReferentialConstraintRole principal, CsdlReferentialConstraintRole dependent, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location)
 {
     this.principal = principal;
     this.dependent = dependent;
 }
Esempio n. 22
0
 protected CsdlNamedElement(string name, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location)
 {
     this.name = name;
 }
Esempio n. 23
0
 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;
 }
Esempio n. 24
0
 public CsdlFunction(string name, IEnumerable <CsdlFunctionParameter> parameters, string definingExpression, CsdlTypeReference returnType, CsdlDocumentation documentation, CsdlLocation location)
     : base(name, parameters, returnType, documentation, location)
 {
     this.definingExpression = definingExpression;
 }
		public CsdlElementWithDocumentation(CsdlDocumentation documentation, CsdlLocation location) : base(location)
		{
			this.documentation = documentation;
		}
		public CsdlReferentialConstraintRole(string role, IEnumerable<CsdlPropertyReference> properties, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location)
		{
			this.role = role;
			this.properties = new List<CsdlPropertyReference>(properties);
		}
Esempio n. 27
0
		public CsdlFunction(string name, IEnumerable<CsdlFunctionParameter> parameters, string definingExpression, CsdlTypeReference returnType, CsdlDocumentation documentation, CsdlLocation location) : base(name, parameters, returnType, documentation, location)
		{
			this.definingExpression = definingExpression;
		}
Esempio n. 28
0
		public CsdlEnumMember(string name, long? value, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location)
		{
			this.Value = value;
		}
Esempio n. 29
0
 public CsdlUsing(string namespaceName, string alias, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location)
 {
     this.@alias        = alias;
     this.namespaceName = namespaceName;
 }
Esempio n. 30
0
 public CsdlOnDelete(EdmOnDeleteAction action, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location)
 {
     this.action = action;
 }
Esempio n. 31
0
 protected CsdlFunctionBase(string name, IEnumerable<CsdlFunctionParameter> parameters, CsdlTypeReference returnType, CsdlDocumentation documentation, CsdlLocation location)
     : base(name, documentation, location)
 {
     this.parameters = new List<CsdlFunctionParameter>(parameters);
     this.returnType = returnType;
 }
Esempio n. 32
0
 public CsdlValueTerm(string name, CsdlTypeReference type, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location)
 {
     this.type = type;
 }
Esempio n. 33
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);
 }
Esempio n. 34
0
		public CsdlOnDelete(EdmOnDeleteAction action, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location)
		{
			this.action = action;
		}
Esempio n. 35
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;
		}
 public CsdlSemanticsDocumentation(CsdlDocumentation documentation, CsdlSemanticsModel model)
     : base(documentation)
 {
     this.documentation = documentation;
     this.model = model;
 }
Esempio n. 37
0
 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;
 }
Esempio n. 38
0
		public CsdlComplexType(string name, string baseTypeName, bool isAbstract, IEnumerable<CsdlProperty> properties, CsdlDocumentation documentation, CsdlLocation location) : base(name, baseTypeName, isAbstract, properties, documentation, location)
		{
		}
Esempio n. 39
0
 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);
 }
Esempio n. 40
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;
		}
Esempio n. 41
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;
		}
Esempio n. 42
0
		public CsdlAssociationSetEnd(string role, string entitySet, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location)
		{
			this.role = role;
			this.entitySet = entitySet;
		}
Esempio n. 43
0
 public CsdlEnumMember(string name, long?value, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location)
 {
     this.Value = value;
 }
Esempio n. 44
0
 protected CsdlFunctionBase(string name, IEnumerable <CsdlFunctionParameter> parameters, CsdlTypeReference returnType, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location)
 {
     this.parameters = new List <CsdlFunctionParameter>(parameters);
     this.returnType = returnType;
 }
 public CsdlReferentialConstraintRole(string role, IEnumerable <CsdlPropertyReference> properties, CsdlDocumentation documentation, CsdlLocation location)
     : base(documentation, location)
 {
     this.role       = role;
     this.properties = new List <CsdlPropertyReference>(properties);
 }
Esempio n. 46
0
        public CsdlEntityType(string name, string baseTypeName, bool isAbstract, bool isOpen, CsdlKey key, IEnumerable <CsdlProperty> properties, IEnumerable <CsdlNavigationProperty> navigationProperties, CsdlDocumentation documentation, CsdlLocation location)
            : base(name, baseTypeName, isAbstract, properties, documentation, location)
        {
            this.isOpen = isOpen;
            this.key    = key;

            this.navigationProperties = new List <CsdlNavigationProperty>(navigationProperties);
        }
Esempio n. 47
0
		protected CsdlNamedElement(string name, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location)
		{
			this.name = name;
		}
Esempio n. 48
0
 protected CsdlStructuredType(IEnumerable <CsdlProperty> properties, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location)
 {
     this.properties = new List <CsdlProperty>(properties);
 }
Esempio n. 49
0
		public CsdlValueTerm(string name, CsdlTypeReference type, CsdlDocumentation documentation, CsdlLocation location) : base(name, documentation, location)
		{
			this.type = type;
		}
Esempio n. 50
0
 public CsdlComplexType(string name, string baseTypeName, bool isAbstract, IEnumerable <CsdlProperty> properties, CsdlDocumentation documentation, CsdlLocation location)
     : base(name, baseTypeName, isAbstract, properties, documentation, location)
 {
 }
Esempio n. 51
0
 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;
 }
Esempio n. 52
0
		public CsdlReferentialConstraint(CsdlReferentialConstraintRole principal, CsdlReferentialConstraintRole dependent, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location)
		{
			this.principal = principal;
			this.dependent = dependent;
		}
Esempio n. 53
0
 public CsdlAssociationSetEnd(string role, string entitySet, CsdlDocumentation documentation, CsdlLocation location) : base(documentation, location)
 {
     this.role      = role;
     this.entitySet = entitySet;
 }