| IDataPersistenceServiceTDataInsert Method |
Insert the specified data.
Namespace:
SanteDB.Core.Services
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax TData Insert(
TData data,
TransactionMode transactionMode,
IPrincipal principal
)
Function Insert (
data As TData,
transactionMode As TransactionMode,
principal As IPrincipal
) As TData
TData Insert(
TData data,
TransactionMode transactionMode,
IPrincipal^ principal
)
abstract Insert :
data : 'TData *
transactionMode : TransactionMode *
principal : IPrincipal -> 'TData
Parameters
- data
- Type: TData
Data. - transactionMode
- Type: SanteDB.Core.ServicesTransactionMode
The mode of insert (commit or rollback for testing) - principal
- Type: System.Security.PrincipalIPrincipal
The principal which is executing the insert
Return Value
Type:
TData[Missing <returns> documentation for "M:SanteDB.Core.Services.IDataPersistenceService`1.Insert(`0,SanteDB.Core.Services.TransactionMode,System.Security.Principal.IPrincipal)"]
See Also