Click or drag to resize

IdentifiedPersistenceServiceTModel, TDomain, TQueryResultUpdateAssociatedItemsTAssociation, TModelEx Method

Update associated version items

Namespace:  SanteDB.DisconnectedClient.SQLite.Persistence
Assembly:  SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax
protected void UpdateAssociatedItems<TAssociation, TModelEx>(
	IEnumerable<TAssociation> existing,
	IEnumerable<TAssociation> storage,
	Guid? sourceKey,
	SQLiteDataContext dataContext,
	bool inversionInd = false
)
where TAssociation : new(), IdentifiedData, ISimpleAssociation
where TModelEx : IdentifiedData

Parameters

existing
Type: System.Collections.GenericIEnumerableTAssociation

[Missing <param name="existing"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Persistence.IdentifiedPersistenceService`3.UpdateAssociatedItems``2(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0},System.Nullable{System.Guid},SanteDB.DisconnectedClient.SQLite.SQLiteDataContext,System.Boolean)"]

storage
Type: System.Collections.GenericIEnumerableTAssociation

[Missing <param name="storage"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Persistence.IdentifiedPersistenceService`3.UpdateAssociatedItems``2(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0},System.Nullable{System.Guid},SanteDB.DisconnectedClient.SQLite.SQLiteDataContext,System.Boolean)"]

sourceKey
Type: SystemNullableGuid

[Missing <param name="sourceKey"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Persistence.IdentifiedPersistenceService`3.UpdateAssociatedItems``2(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0},System.Nullable{System.Guid},SanteDB.DisconnectedClient.SQLite.SQLiteDataContext,System.Boolean)"]

dataContext
Type: SanteDB.DisconnectedClient.SQLiteSQLiteDataContext

[Missing <param name="dataContext"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Persistence.IdentifiedPersistenceService`3.UpdateAssociatedItems``2(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0},System.Nullable{System.Guid},SanteDB.DisconnectedClient.SQLite.SQLiteDataContext,System.Boolean)"]

inversionInd (Optional)
Type: SystemBoolean

[Missing <param name="inversionInd"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Persistence.IdentifiedPersistenceService`3.UpdateAssociatedItems``2(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0},System.Nullable{System.Guid},SanteDB.DisconnectedClient.SQLite.SQLiteDataContext,System.Boolean)"]

Type Parameters

TAssociation

[Missing <typeparam name="TAssociation"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Persistence.IdentifiedPersistenceService`3.UpdateAssociatedItems``2(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0},System.Nullable{System.Guid},SanteDB.DisconnectedClient.SQLite.SQLiteDataContext,System.Boolean)"]

TModelEx

[Missing <typeparam name="TModelEx"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Persistence.IdentifiedPersistenceService`3.UpdateAssociatedItems``2(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0},System.Nullable{System.Guid},SanteDB.DisconnectedClient.SQLite.SQLiteDataContext,System.Boolean)"]

See Also