OperationInput Class

This class is used to supply operation information when calling an Connector to perform an ExecuteOperation or TestOperation.

Inheritance Hierarchy

System Object

  Scribe.Core.ConnectorApi.Actions OperationInput

Namespace:  Scribe.Core.ConnectorApi.Actions
Assembly:  Scribe.Core.ConnectorApi (in Scribe.Core.ConnectorApi.dll)

Syntax

[DataContractAttribute]
[KnownTypeAttribute(typeof(Expression))]
[KnownTypeAttribute(typeof(ComparisonExpression))]
[KnownTypeAttribute(typeof(LogicalExpression))]
[KnownTypeAttribute(typeof(DataEntity))]
public class OperationInput

The OperationInput type exposes the following members.

Constructors

 

Name

Description

Public method

OperationInput

Default Ctor for non bulk operations

Public method

OperationInput(Int32)

Create an Input for Bulk operations

Public method

OperationInput(String)

Default Ctor for non bulk operations

Properties

 

Name

Description

Public property

AllowMultipleObject

This property holds whether to allow multiple objects to be affected during the operation.

Public property

Input

This property holds 0 or more DataEntity inputs for use in the operation. One DataEntity per operation.

Public property

IsTestOperation

Allows the operation to be non destructive. ie rolls back the operation

Public property

LookupCondition

This property holds 0 or more Expressions for use in the operation. One Expression per operation. Omitted Expressions will be null.

Public property

Name

This property holds the name of the operation as described in the metadata.

Methods

 

Name

Description

Public method

AddForBulk

This method will add another DataEntity input and Expression lookup condition for bulk operation support.

Public method Static member

CloneForBulkOperationInput

This method will create an OperationInput for bulk support.

Public method Static member

CloneOperationInput

Creates a new object that is a copy of the current instance.

Public method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)

Public method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)

Public method

GetType

Gets the Type of the current instance.

(Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)

Public method

PrepareForBulk

This method will convert the internal lists into the standard arrays in preparation of calling the Operation.

Public method

RemoveForBulk

This method will remove a DataEntity and Expression pair, used for bulk operation support.

Public method

ToString

Returns a string that represents the current object.

(Inherited from Object.)

See

Scribe.Core.ConnectorApi.Actions Namespace