| 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
)
<ExtensionAttribute>
Public Shared Function TryGetExisting (
me As IIdentifiedEntity,
context As SQLiteDataContext,
Optional forceDbSearch As Boolean = false
) As IIdentifiedEntity
public:
[ExtensionAttribute]
static IIdentifiedEntity^ TryGetExisting(
IIdentifiedEntity^ me,
SQLiteDataContext^ context,
bool forceDbSearch = false
)
[<ExtensionAttribute>]
static member TryGetExisting :
me : IIdentifiedEntity *
context : SQLiteDataContext *
?forceDbSearch : bool
(* Defaults:
let _forceDbSearch = defaultArg forceDbSearch false
*)
-> IIdentifiedEntity
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