Click or drag to resize

DataPersistenceControlContextCreate(NullableLoadMode, NullableDeleteMode, NullableBoolean, NullableBoolean) Method

Sets the current loading mode

Namespace: SanteDB.Core.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public static DataPersistenceControlContext Create(
	LoadMode? loadMode = null,
	DeleteMode? deleteMode = null,
	bool? autoUpdate = null,
	bool? autoInsert = null
)

Parameters

loadMode  NullableLoadMode  (Optional)
The load strategy
deleteMode  NullableDeleteMode  (Optional)
The deletion strategy
autoUpdate  NullableBoolean  (Optional)
True if existing resources on an INSERT should be switched to an UPDATE
autoInsert  NullableBoolean  (Optional)
True if client objects should be inserted

Return Value

DataPersistenceControlContext

[Missing <returns> documentation for "M:SanteDB.Core.Services.DataPersistenceControlContext.Create(System.Nullable{SanteDB.Core.Services.LoadMode},System.Nullable{SanteDB.Core.Services.DeleteMode},System.Nullable{System.Boolean},System.Nullable{System.Boolean})"]

See Also