IRowOperationInterceptor interface
namespace: Serenity.Data assembly: Serenity.Net.Services
An interface that allows you to intercept SQL operations on entities. Note that this does not intercept all SQL operations, only the ones that are done through EntityConnectionExtensions. This interface should be implemented by the mock connection class used in tests.
public interface IRowOperationInterceptor
Members
| name | description |
|---|---|
| FindRow(…) | Intercepts EntityConnectionExtensions's ById/TryById/First/TryFirst/Single/TrySingle methods. |
| ListRows(…) | Intercepts EntityConnectionExtensions.List and Count methods. |
| ManipulateRow(…) | Intercepts EntityConnectionExtensions.DeleteById method. |
See Also
- Source: IRowOperationInterceptor.cs