 | OrmExtensionsLoadExtension Method |
Load an extension using the extensions load extension method
Namespace: SanteDB.OrmLiteAssembly: SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 3.0.2081-alpha+d0a78774d3f97b9193d2ae2fef6d129ea9f29519
Syntaxpublic static void LoadExtension(
this IDbConnection me,
string extensionName,
string entryPoint = null
)
<ExtensionAttribute>
Public Shared Sub LoadExtension (
me As IDbConnection,
extensionName As String,
Optional entryPoint As String = Nothing
)
public:
[ExtensionAttribute]
static void LoadExtension(
IDbConnection^ me,
String^ extensionName,
String^ entryPoint = nullptr
)
[<ExtensionAttribute>]
static member LoadExtension :
me : IDbConnection *
extensionName : string *
?entryPoint : string
(* Defaults:
let _entryPoint = defaultArg entryPoint null
*)
-> unit Parameters
- me IDbConnection
- The connection on which the extension should be loaded
- extensionName String
- The name of the extensions
- entryPoint String (Optional)
- The entry point in the library to initialize the extension.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IDbConnection. 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