/// <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="operationReturn">The return of the action.</param> /// <param name="isBound">if set to <c>true</c> [is bound].</param> /// <param name="entitySetPath">The entity set path.</param> /// <param name="location">The location in the csdl document of the action.</param> public CsdlAction( string name, IEnumerable <CsdlOperationParameter> parameters, CsdlOperationReturn operationReturn, bool isBound, string entitySetPath, CsdlLocation location) : base(name, parameters, operationReturn, isBound, entitySetPath, location) { }
protected CsdlOperationImport( string name, string schemaOperationQualifiedTypeName, string entitySet, IEnumerable <CsdlOperationParameter> parameters, CsdlOperationReturn returnType, CsdlLocation location) : base(name, parameters, returnType, location) { this.entitySet = entitySet; this.SchemaOperationQualifiedTypeName = schemaOperationQualifiedTypeName; }
/// <summary> /// Initializes a new instance of the <see cref="CsdlFunction"/> class. /// </summary> /// <param name="name">The name.</param> /// <param name="parameters">The parameters.</param> /// <param name="operationReturn">The return 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="isComposable">if set to <c>true</c> [is composable].</param> /// <param name="location">The location in the csdl document of the function.</param> public CsdlFunction( string name, IEnumerable <CsdlOperationParameter> parameters, CsdlOperationReturn operationReturn, bool isBound, string entitySetPath, bool isComposable, CsdlLocation location) : base(name, parameters, operationReturn, isBound, entitySetPath, location) { this.IsComposable = isComposable; }
/// <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="operationReturn">The operation return.</param> /// <param name="isBound">if set to <c>true</c> [is bound].</param> /// <param name="entitySetPath">The entity set path.</param> /// <param name="location">The location.</param> public CsdlOperation( string name, IEnumerable <CsdlOperationParameter> parameters, CsdlOperationReturn operationReturn, bool isBound, string entitySetPath, CsdlLocation location) : base(name, parameters, operationReturn, location) { this.IsBound = isBound; this.EntitySetPath = entitySetPath; }
protected CsdlFunctionBase(string name, IEnumerable <CsdlOperationParameter> parameters, CsdlOperationReturn operationReturn, CsdlLocation location) : base(name, location) { this.parameters = new List <CsdlOperationParameter>(parameters); this.operationReturn = operationReturn; }