Share via


AsyncQueryableExtensions.AsUpdatable Method

Definition

Overloads

AsUpdatable<TEntity>(IAsyncQueryable<TEntity>)

Initialize an update action.

AsUpdatable<TEntity>(TEntity)

Initialize an update action.

AsUpdatable<TEntity>(IAsyncQueryable<TEntity>)

Initialize an update action.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<TEntity> AsUpdatable<TEntity> (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<TEntity> source) where TEntity : Microsoft.VisualStudio.ProjectSystem.Query.IEntity;
static member AsUpdatable : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<'Entity (requires 'Entity :> Microsoft.VisualStudio.ProjectSystem.Query.IEntity)> -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<'Entity (requires 'Entity :> Microsoft.VisualStudio.ProjectSystem.Query.IEntity)> (requires 'Entity :> Microsoft.VisualStudio.ProjectSystem.Query.IEntity)
<Extension()>
Public Function AsUpdatable(Of TEntity As IEntity) (source As IAsyncQueryable(Of TEntity)) As IAsyncUpdatable(Of TEntity)

Type Parameters

TEntity

Type of the elements in the query.

Parameters

source
IAsyncQueryable<TEntity>

The query to provide source of items to be updated

Returns

An remote updatable action.

Applies to

AsUpdatable<TEntity>(TEntity)

Initialize an update action.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<TEntity> AsUpdatable<TEntity> (this TEntity source) where TEntity : Microsoft.VisualStudio.ProjectSystem.Query.IEntityWithId, Microsoft.VisualStudio.ProjectSystem.Query.IEntityWithId<TEntity>;
static member AsUpdatable : 'Entity -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<'Entity (requires 'Entity :> Microsoft.VisualStudio.ProjectSystem.Query.IEntityWithId and 'Entity :> Microsoft.VisualStudio.ProjectSystem.Query.IEntityWithId<'Entity>)> (requires 'Entity :> Microsoft.VisualStudio.ProjectSystem.Query.IEntityWithId and 'Entity :> Microsoft.VisualStudio.ProjectSystem.Query.IEntityWithId<'Entity>)
<Extension()>
Public Function AsUpdatable(Of TEntity As {IEntityWithId, IEntityWithId(Of TEntity)}) (source As TEntity) As IAsyncUpdatable(Of TEntity)

Type Parameters

TEntity

Type of the elements in the query.

Parameters

source
TEntity

The source of item to be updated

Returns

An remote updatable action.

Applies to