Definition
Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.Submit Inheritance: Microsoft.Restier.Core.Submit.DataModificationItemSyntax
Summary
Represents a data modification item in a change set.Type Parameters
T- The resource type.
Constructors
.ctor
Initializes a new instance of the DataModificationItem`1 class.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
resourceSetName | string | The name of the resource set in question. |
expectedResourceType | System.Type | The type of the expected resource type in question. |
actualResourceType | System.Type | The type of the actual resource type in question. |
action | Microsoft.Restier.Core.RestierEntitySetOperation | The RestierEntitySetOperations for the request. |
resourceKey | System.Collections.Generic.IReadOnlyDictionary<string, object> | The key of the resource being modified. |
originalValues | System.Collections.Generic.IReadOnlyDictionary<string, object> | Any original values of the resource that are known. |
localValues | System.Collections.Generic.IReadOnlyDictionary<string, object> | The local values of the entity. |
.ctor Inherited
Inherited from
Microsoft.Restier.Core.Submit.DataModificationItemSyntax
Parameters
| Name | Type | Description |
|---|---|---|
resourceSetName | string | The name of the resource set in question. |
expectedResourceType | System.Type | The type of the expected resource type in question. |
actualResourceType | System.Type | The type of the actual resource type in question. |
action | Microsoft.Restier.Core.RestierEntitySetOperation | The RestierEntitySetOperations for the request. |
resourceKey | System.Collections.Generic.IReadOnlyDictionary<string, object> | The key of the resource being modified. |
originalValues | System.Collections.Generic.IReadOnlyDictionary<string, object> | Any original values of the resource that are known. |
localValues | System.Collections.Generic.IReadOnlyDictionary<string, object> | The local values of the resource. |
.ctor Inherited
Inherited from
Microsoft.Restier.Core.Submit.ChangeSetItemSyntax
Parameters
| Name | Type | Description |
|---|---|---|
type | Microsoft.Restier.Core.Submit.ChangeSetItemType | - |
.ctor Inherited
Inherited from
objectSyntax
Properties
ActualResourceType Inherited
Inherited from
Microsoft.Restier.Core.Submit.DataModificationItemSyntax
Property Value
Type:System.Type
ChangeSetItemProcessingStage Inherited
Inherited from
Microsoft.Restier.Core.Submit.ChangeSetItemSyntax
Property Value
Type:Microsoft.Restier.Core.Submit.ChangeSetItemProcessingStage
EntitySetOperation Inherited
Inherited from
Microsoft.Restier.Core.Submit.DataModificationItemSyntax
Property Value
Type:Microsoft.Restier.Core.RestierEntitySetOperation
ExpectedResourceType Inherited
Inherited from
Microsoft.Restier.Core.Submit.DataModificationItemSyntax
Property Value
Type:System.Type
IsFullReplaceUpdateRequest Inherited
Inherited from
Microsoft.Restier.Core.Submit.DataModificationItemSyntax
Property Value
Type:bool
Remarks
If true, all properties will be updated, even if the property isn’t in LocalValues. If false, only properties identified in LocalValues will be updated on the resource.LocalValues Inherited
Inherited from
Microsoft.Restier.Core.Submit.DataModificationItemSyntax
Property Value
Type:System.Collections.Generic.IReadOnlyDictionary<string, object>
Remarks
For entities pending deletion, this property isnull.
OriginalValues Inherited
Inherited from
Microsoft.Restier.Core.Submit.DataModificationItemSyntax
Property Value
Type:System.Collections.Generic.IReadOnlyDictionary<string, object>
Remarks
For new entities, this property isnull.
Resource
Gets or sets the resource object in question.Syntax
Property Value
Type:T
Remarks
Initially this will benull, however after the change
set has been prepared it will represent the pending resource.
Resource Inherited
Inherited from
Microsoft.Restier.Core.Submit.DataModificationItemSyntax
Property Value
Type:object
Remarks
Initially this will benull, however after the change
set has been prepared it will represent the pending resource.
ResourceKey Inherited
Inherited from
Microsoft.Restier.Core.Submit.DataModificationItemSyntax
Property Value
Type:System.Collections.Generic.IReadOnlyDictionary<string, object>
ResourceSetName Inherited
Inherited from
Microsoft.Restier.Core.Submit.DataModificationItemSyntax
Property Value
Type:string
ServerValues Inherited
Inherited from
Microsoft.Restier.Core.Submit.DataModificationItemSyntax
Property Value
Type:System.Collections.Generic.IReadOnlyDictionary<string, object>
Remarks
For new entities, this property isnull. For updated
entities, it is null until the change set is prepared.
Type Inherited
Inherited from
Microsoft.Restier.Core.Submit.ChangeSetItemSyntax
Property Value
Type:Microsoft.Restier.Core.Submit.ChangeSetItemType
Methods
ApplyTo Inherited
Inherited from
Microsoft.Restier.Core.Submit.DataModificationItemSyntax
Parameters
| Name | Type | Description |
|---|---|---|
query | System.Linq.IQueryable | The IQueryable to apply the property values to. |
Returns
Type:System.Linq.IQueryable
The new IQueryable with the property values applied to it in a Where condition.
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
HasChanged Inherited
Inherited from
Microsoft.Restier.Core.Submit.ChangeSetItemSyntax
Returns
Type:bool
Whether this change set item is in a changed state.
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?
ValidateEtag Inherited
Inherited from
Microsoft.Restier.Core.Submit.DataModificationItemSyntax
Parameters
| Name | Type | Description |
|---|---|---|
query | System.Linq.IQueryable | The IQueryable to apply the property values to. |
Returns
Type:object
The object is e-tag checked passed.