| ModelExtensionsLoadAssociationsTModel Method |
Load specified associations
Namespace:
SanteDB.DisconnectedClient.SQLite
Assembly:
SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax public static void LoadAssociations<TModel>(
this TModel me,
SQLiteDataContext context,
params string[] excludeProperties
)
where TModel : IIdentifiedEntity
<ExtensionAttribute>
Public Shared Sub LoadAssociations(Of TModel As IIdentifiedEntity) (
me As TModel,
context As SQLiteDataContext,
ParamArray excludeProperties As String()
)
public:
[ExtensionAttribute]
generic<typename TModel>
where TModel : IIdentifiedEntity
static void LoadAssociations(
TModel me,
SQLiteDataContext^ context,
... array<String^>^ excludeProperties
)
[<ExtensionAttribute>]
static member LoadAssociations :
me : 'TModel *
context : SQLiteDataContext *
excludeProperties : string[] -> unit when 'TModel : IIdentifiedEntity
Parameters
- me
- Type: TModel
[Missing <param name="me"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.ModelExtensions.LoadAssociations``1(``0,SanteDB.DisconnectedClient.SQLite.SQLiteDataContext,System.String[])"]
- context
- Type: SanteDB.DisconnectedClient.SQLiteSQLiteDataContext
[Missing <param name="context"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.ModelExtensions.LoadAssociations``1(``0,SanteDB.DisconnectedClient.SQLite.SQLiteDataContext,System.String[])"]
- excludeProperties
- Type: SystemString
[Missing <param name="excludeProperties"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.ModelExtensions.LoadAssociations``1(``0,SanteDB.DisconnectedClient.SQLite.SQLiteDataContext,System.String[])"]
Type Parameters
- TModel
[Missing <typeparam name="TModel"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.ModelExtensions.LoadAssociations``1(``0,SanteDB.DisconnectedClient.SQLite.SQLiteDataContext,System.String[])"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . 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