Class Version
Version reflects how SDS2 is versioned internally. These version numbers are not like assembly version numbers or semantic version numbers, are only loosely correlated with marketing versions, but reflect existing internal practice at SDS2.
Inherited Members
Namespace: DesignData.SDS2.Database
Assembly: DesignData.SDS2.Database.dll
Syntax
public class Version
Remarks
Version numbers are important to understand (A) capabilities of SDS2 and the C# interface and (B) compatible project data versions.
Generally, over time, Program and Data version numbers of SDS2 increase.
Generally, when a new marketing version number is seen, the most significant "minor" digit is incremented, overflowing to the "major" digit.
Generally, Program version is equal to or greater than Data version.
Projects with data versions equal to Version.DataVersion can be accessed freely, while projects with older data versions can be irrevocably converted to the current data version.
Properties
DataVersion
The data version written by the loaded SDS2 DLL.
Declaration
public static Version DataVersion { get; }
Property Value
Type | Description |
---|---|
Version |
Remarks
Version numbers are important to understand (A) capabilities of SDS2 and the C# interface and (B) compatible project data versions.
Generally, over time, Program and Data version numbers of SDS2 increase.
Generally, when a new marketing version number is seen, the most significant "minor" digit is incremented, overflowing to the "major" digit.
Generally, Program version is equal to or greater than Data version.
Projects with data versions equal to Version.DataVersion can be accessed freely, while projects with older data versions can be irrevocably converted to the current data version.
Major
Major version releases, increments of this are likely to come with breaking API changes.
Declaration
public int Major { get; }
Property Value
Type | Description |
---|---|
int |
Remarks
Version numbers are important to understand (A) capabilities of SDS2 and the C# interface and (B) compatible project data versions.
Generally, over time, Program and Data version numbers of SDS2 increase.
Generally, when a new marketing version number is seen, the most significant "minor" digit is incremented, overflowing to the "major" digit.
Generally, Program version is equal to or greater than Data version.
Projects with data versions equal to Version.DataVersion can be accessed freely, while projects with older data versions can be irrevocably converted to the current data version.
Minor
Minor version changes may also contain breaking API changes, but some will not.
Declaration
public int Minor { get; }
Property Value
Type | Description |
---|---|
int |
Remarks
Version numbers are important to understand (A) capabilities of SDS2 and the C# interface and (B) compatible project data versions.
Generally, over time, Program and Data version numbers of SDS2 increase.
Generally, when a new marketing version number is seen, the most significant "minor" digit is incremented, overflowing to the "major" digit.
Generally, Program version is equal to or greater than Data version.
Projects with data versions equal to Version.DataVersion can be accessed freely, while projects with older data versions can be irrevocably converted to the current data version.
ProgramVersion
The program version of the loaded SDS2 DLL.
Declaration
public static Version ProgramVersion { get; }
Property Value
Type | Description |
---|---|
Version |
Remarks
Version numbers are important to understand (A) capabilities of SDS2 and the C# interface and (B) compatible project data versions.
Generally, over time, Program and Data version numbers of SDS2 increase.
Generally, when a new marketing version number is seen, the most significant "minor" digit is incremented, overflowing to the "major" digit.
Generally, Program version is equal to or greater than Data version.
Projects with data versions equal to Version.DataVersion can be accessed freely, while projects with older data versions can be irrevocably converted to the current data version.
Revision
Minor revisions that will not contain breaking API changes.
Declaration
public int Revision { get; }
Property Value
Type | Description |
---|---|
int |
Remarks
Version numbers are important to understand (A) capabilities of SDS2 and the C# interface and (B) compatible project data versions.
Generally, over time, Program and Data version numbers of SDS2 increase.
Generally, when a new marketing version number is seen, the most significant "minor" digit is incremented, overflowing to the "major" digit.
Generally, Program version is equal to or greater than Data version.
Projects with data versions equal to Version.DataVersion can be accessed freely, while projects with older data versions can be irrevocably converted to the current data version.
Methods
~Version()
Version reflects how SDS2 is versioned internally. These version numbers are not like assembly version numbers or semantic version numbers, are only loosely correlated with marketing versions, but reflect existing internal practice at SDS2.
Declaration
protected ~Version()
Remarks
Version numbers are important to understand (A) capabilities of SDS2 and the C# interface and (B) compatible project data versions.
Generally, over time, Program and Data version numbers of SDS2 increase.
Generally, when a new marketing version number is seen, the most significant "minor" digit is incremented, overflowing to the "major" digit.
Generally, Program version is equal to or greater than Data version.
Projects with data versions equal to Version.DataVersion can be accessed freely, while projects with older data versions can be irrevocably converted to the current data version.
ToString()
Version reflects how SDS2 is versioned internally. These version numbers are not like assembly version numbers or semantic version numbers, are only loosely correlated with marketing versions, but reflect existing internal practice at SDS2.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
Remarks
Version numbers are important to understand (A) capabilities of SDS2 and the C# interface and (B) compatible project data versions.
Generally, over time, Program and Data version numbers of SDS2 increase.
Generally, when a new marketing version number is seen, the most significant "minor" digit is incremented, overflowing to the "major" digit.
Generally, Program version is equal to or greater than Data version.
Projects with data versions equal to Version.DataVersion can be accessed freely, while projects with older data versions can be irrevocably converted to the current data version.