DbContextMock<(Of <(<'TEntity>)>)>..::..SetupDbContextSetMethods Method
Setups the database context set methods.
Namespace:
FastMoq.ModelsAssembly: FastMoq.Core (in FastMoq.Core.dll)
Syntax
public void SetupDbContextSetMethods( PropertyInfo propertyInfo )
Public Sub SetupDbContextSetMethods ( _ propertyInfo As PropertyInfo _ )
public: void SetupDbContextSetMethods( PropertyInfo^ propertyInfo )
Parameters
- propertyInfo
- Type: PropertyInfo
The property information.
Exceptions
Exception | Condition |
---|---|
MissingMethodException | Unable to get Set method. |
InvalidOperationException | Unable to get Set method. |