Class InstallationComponent
Represents a component that is used in the installation and update process
Inheritance
Inherited Members
Namespace: TimeCockpit.Data.Install
Assembly: TimeCockpit.Data.dll
Syntax
public abstract class InstallationComponent
Constructors
InstallationComponent()
Declaration
protected InstallationComponent()
Properties
ComponentUuid
Gets or sets the guid that can be used to uniquely identify the installer component
Declaration
public Guid ComponentUuid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Remarks
You need not explicitly set the component uuid because the system automatically assigns a new uuid to each new installer component. However, you can set the value of the property if you need to.
InvariantFriendlyName
Gets or sets the culture-invariant friendly name of the component.
Declaration
public string InvariantFriendlyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Mandatory
Gets or sets a value indicating whether whether the application can run without this component installed.
Declaration
public bool Mandatory { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ProviderInvariantName
Gets or sets the invariant provider name on which the script should be executed.
Declaration
public string ProviderInvariantName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Property can be set to "All" if the script should be executed on all providers or to a known provider name (see also System.Data.Common.DbProviderFactories.GetFactoryClasses).
The default value for this property is "All".
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown if provider name is neither "All" nor a known provider name. |