Click or drag to resize

ModelExtensionsTryGetExisting Method

Try get by classifier

Namespace:  SanteDB.DisconnectedClient.SQLite
Assembly:  SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax
public static IIdentifiedEntity TryGetExisting(
	this IIdentifiedEntity me,
	SQLiteDataContext context,
	bool forceDbSearch = false
)

Parameters

me
Type: SanteDB.Core.Model.InterfacesIIdentifiedEntity

[Missing <param name="me"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.ModelExtensions.TryGetExisting(SanteDB.Core.Model.Interfaces.IIdentifiedEntity,SanteDB.DisconnectedClient.SQLite.SQLiteDataContext,System.Boolean)"]

context
Type: SanteDB.DisconnectedClient.SQLiteSQLiteDataContext

[Missing <param name="context"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.ModelExtensions.TryGetExisting(SanteDB.Core.Model.Interfaces.IIdentifiedEntity,SanteDB.DisconnectedClient.SQLite.SQLiteDataContext,System.Boolean)"]

forceDbSearch (Optional)
Type: SystemBoolean

[Missing <param name="forceDbSearch"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.ModelExtensions.TryGetExisting(SanteDB.Core.Model.Interfaces.IIdentifiedEntity,SanteDB.DisconnectedClient.SQLite.SQLiteDataContext,System.Boolean)"]

Return Value

Type: IIdentifiedEntity

[Missing <returns> documentation for "M:SanteDB.DisconnectedClient.SQLite.ModelExtensions.TryGetExisting(SanteDB.Core.Model.Interfaces.IIdentifiedEntity,SanteDB.DisconnectedClient.SQLite.SQLiteDataContext,System.Boolean)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IIdentifiedEntity. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also