UpdateStepBase Class |
Namespace: PDTec.IceNet.Sdk.Model.Update
public abstract class UpdateStepBase
The UpdateStepBase type exposes the following members.
Name | Description | |
---|---|---|
![]() | UpdateStepBase | Initializes a new instance of the UpdateStepBase class |
Name | Description | |
---|---|---|
![]() | FromVersion | |
![]() | Repository | |
![]() | ToVersion |
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnDisplayMessage | |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Update | |
![]() | UpdateBase |
[UpdateStep(PackageName = "GL.TIS.HullManager", FromVersion = "1.3.0.2", ToVersion = "1.3.0.3")] internal class UpdateStep13 : UpdateStepBase { public override void Update() { IPackage pPackageHullManager = Repository.GetPackageByName("GL.TIS.HullManager"); // // [0] Update GL.TIS.Base... // UpdateBase(Assembly.Load("GL.TIS.BusinessLogic"), "GL.TIS.Base", "2.0.0.0", "2.0.0.1"); // // [1] Add relationship type GL.TIS.HullManager.HcfGeometryOriginal... // IRelType pRelType = Repository.CreateRelType("GL.TIS.HullManager.HcfGeometryOriginal", "HCF Geometry Original", "", "", "", Cardinality.Aggregation, Cardinality.C0_1, false, false, pPackageHullManager); pRelType.AddObjType(Repository.GetObjTypeByName("GL.TIS.Base.BaseShip"), Direction.From); pRelType.AddObjType(Repository.GetObjTypeByName("GL.TIS.Documents.HcfGeometry"), Direction.To); // // Done... // pPackageHullManager.Version = ToVersion; } }