| IBusinessRulesServiceTModelBeforeInsert Method (TModel) |
Called before an insert occurs
Namespace:
SanteDB.Core.Services
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax TModel BeforeInsert(
TModel data
)
Function BeforeInsert (
data As TModel
) As TModel
TModel BeforeInsert(
TModel data
)
abstract BeforeInsert :
data : 'TModel -> 'TModel
Parameters
- data
- Type: TModel
The data which is to be inserted
Return Value
Type:
TModelThe data which is to be passed to the persistence layer
Remarks The data returned form this method is what will be committed to the database regardless of the data passed in data.
This method is useful for assigning new identifiers, tags, home facilities, or other information.
See Also