Click or drag to resize

SqlFeatureUtilIsInstalled Method

Returns true if the migration has been installed

Namespace:  SanteDB.OrmLite.Migration
Assembly:  SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 2.2.1
Syntax
public static bool IsInstalled(
	this DataContext conn,
	SqlFeature migration
)

Parameters

conn
Type: SanteDB.OrmLiteDataContext

[Missing <param name="conn"/> documentation for "M:SanteDB.OrmLite.Migration.SqlFeatureUtil.IsInstalled(SanteDB.OrmLite.DataContext,SanteDB.OrmLite.Migration.SqlFeature)"]

migration
Type: SanteDB.OrmLite.MigrationSqlFeature

[Missing <param name="migration"/> documentation for "M:SanteDB.OrmLite.Migration.SqlFeatureUtil.IsInstalled(SanteDB.OrmLite.DataContext,SanteDB.OrmLite.Migration.SqlFeature)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:SanteDB.OrmLite.Migration.SqlFeatureUtil.IsInstalled(SanteDB.OrmLite.DataContext,SanteDB.OrmLite.Migration.SqlFeature)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataContext. 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