DomainServiceDescription.GetSubmitMethod Method

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Returns the submit method for the specified entity type and DomainOperation.

Namespace:  System.ServiceModel.DomainServices.Server
Assembly:  System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)

public DomainOperationEntry GetSubmitMethod(
	Type entityType,
	DomainOperation operation


Type: System.Type
The entity type.
Type: System.ServiceModel.DomainServices.Server.DomainOperation
The DomainOperation type to get the method for. Must be Insert, Update, or Delete.

Return Value

Type: System.ServiceModel.DomainServices.Server.DomainOperationEntry
The submit method for the specified entity type and DomainOperation or null if the method is not found.