DocumentManagerServiceExtensions.FindEntityDocument<TEntity, TPrimaryKey>(IDocumentManagerService, TPrimaryKey) Method
Searches for a document that contains a single object view model editing entity with a specified primary key.
Namespace: DevExpress.Mvvm.ViewModel
Assembly: DevExpress.Mvvm.v24.2.ViewModel.dll
Declaration
public static IDocument FindEntityDocument<TEntity, TPrimaryKey>(
this IDocumentManagerService documentManagerService,
TPrimaryKey primaryKey
)
Parameters
Name | Type | Description |
---|---|---|
documentManagerService | IDocumentManagerService | An instance of the IDocumentManager interface used to find a document. |
primaryKey | TPrimaryKey | An entity primary key. |
Type Parameters
Name |
---|
TEntity |
TPrimaryKey |
Returns
Type |
---|
IDocument |
See Also