Skip to content

Commit 018e698

Browse files
author
Vasiliy Sinitsyn
committed
Updated to Aspose.Tasks for .NET 25.11.
1 parent bed6395 commit 018e698

File tree

2,539 files changed

+9130
-102635
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,539 files changed

+9130
-102635
lines changed

english/net/_index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ is_root: true
1111

1212
| Namespace | Description |
1313
| --- | --- |
14-
| [Aspose.Tasks](./aspose.tasks/) | Contains classes for work with Microsoft Project documents without utilizing Microsoft Project. |
14+
| [Aspose.Tasks](./aspose.tasks/) | |
1515
| [Aspose.Tasks.Attributes](./aspose.tasks.attributes/) | |
16-
| [Aspose.Tasks.Connectivity](./aspose.tasks.connectivity/) | Contains classes for working with Databases. |
17-
| [Aspose.Tasks.Leveling](./aspose.tasks.leveling/) | Contains classes necessary to work with resource leveling. |
18-
| [Aspose.Tasks.Primavera](./aspose.tasks.primavera/) | Contains classes necessary to work with Primavera-specific formats (XER, Primavera XML). |
19-
| [Aspose.Tasks.Properties](./aspose.tasks.properties/) | Contains classes for working with properties. |
20-
| [Aspose.Tasks.RiskAnalysis](./aspose.tasks.riskanalysis/) | Contains classes for creating Risk Analysis Report. |
21-
| [Aspose.Tasks.Saving](./aspose.tasks.saving/) | Contains classes for saving a project to different formats. |
22-
| [Aspose.Tasks.Util](./aspose.tasks.util/) | Contains useful static methods. |
23-
| [Aspose.Tasks.Visualization](./aspose.tasks.visualization/) | Contains helper classes for rendering. |
16+
| [Aspose.Tasks.Connectivity](./aspose.tasks.connectivity/) | |
17+
| [Aspose.Tasks.Leveling](./aspose.tasks.leveling/) | |
18+
| [Aspose.Tasks.Primavera](./aspose.tasks.primavera/) | |
19+
| [Aspose.Tasks.Properties](./aspose.tasks.properties/) | |
20+
| [Aspose.Tasks.RiskAnalysis](./aspose.tasks.riskanalysis/) | |
21+
| [Aspose.Tasks.Saving](./aspose.tasks.saving/) | |
22+
| [Aspose.Tasks.Util](./aspose.tasks.util/) | |
23+
| [Aspose.Tasks.Visualization](./aspose.tasks.visualization/) | |
2424

2525

english/net/aspose.tasks.attributes/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ url: /net/aspose.tasks.attributes/
1212

1313
| Class | Description |
1414
| --- | --- |
15-
| [EntityFieldAttribute](./entityfieldattribute/) | Represents an attribute for entity properties. |
15+
| [EntityFieldAttribute](./entityfieldattribute/) | |
1616

1717

english/net/aspose.tasks.attributes/entityfieldattribute/_index.md

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
---
22
title: Class EntityFieldAttribute
33
second_title: Aspose.Tasks for .NET API Reference
4-
description: Aspose.Tasks.Attributes.EntityFieldAttribute class. Represents an attribute for entity properties
4+
description: Aspose.Tasks.Attributes.EntityFieldAttribute class.
55
type: docs
66
weight: 70
77
url: /net/aspose.tasks.attributes/entityfieldattribute/
88
---
99
## EntityFieldAttribute class
1010

11-
Represents an attribute for entity properties.
12-
1311
```csharp
1412
[AttributeUsage(AttributeTargets.Property)]
1513
public class EntityFieldAttribute : Attribute
@@ -21,27 +19,6 @@ public class EntityFieldAttribute : Attribute
2119
| --- | --- |
2220
| [EntityFieldAttribute](entityfieldattribute/)() | The default constructor. |
2321

24-
## Remarks
25-
26-
Attribute used for [`Task`](../../aspose.tasks/task/), [`Resource`](../../aspose.tasks/resource/), [`Project`](../../aspose.tasks/project/) and [`ResourceAssignment`](../../aspose.tasks/resourceassignment/) entity properties only, and simplifies it's enumeration.
27-
28-
## Examples
29-
30-
How to enumerate properties using **EntityField** attribute:
31-
32-
```csharp
33-
[C#]
34-
var project = new Project("sample.mpp");
35-
foreach (var task in project.SelectAllChildTasks())
36-
{
37-
Console.WriteLine("Task:");
38-
foreach (var propInfo in typeof(Task).GetProperties().Where(propInfo => propInfo.GetCustomAttribute{Attributes.EntityFieldAttribute}() != null))
39-
{
40-
Console.WriteLine(string.Format("{0}: {1}", propInfo.Name, propInfo.GetValue(task)));
41-
}
42-
}
43-
```
44-
4522
### See Also
4623

4724
* namespace [Aspose.Tasks.Attributes](../../aspose.tasks.attributes/)
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
---
22
title: Aspose.Tasks.Connectivity
33
second_title: Aspose.Tasks for .NET API Reference
4-
description: Contains classes for working with Databases
4+
description:
55
type: docs
66
weight: 30
77
url: /net/aspose.tasks.connectivity/
88
---
9-
Contains classes for working with Databases.
9+
1010

1111
## Classes
1212

1313
| Class | Description |
1414
| --- | --- |
15-
| [DbSettings](./dbsettings/) | Allows to specify settings to read from project database. |
16-
| [MpdSettings](./mpdsettings/) | Allows to set necessary options to read project data from MPD format (MS Access database file format). |
17-
| [MspDbSettings](./mspdbsettings/) | Allows to set necessary options to read project data from MS Project Server database. |
18-
| [PrimaveraDbSettings](./primaveradbsettings/) | Allows to set necessary options to read project data from Primavera database. |
15+
| [DbSettings](./dbsettings/) | |
16+
| [MpdSettings](./mpdsettings/) | |
17+
| [MspDbSettings](./mspdbsettings/) | |
18+
| [PrimaveraDbSettings](./primaveradbsettings/) | |
1919

2020

english/net/aspose.tasks.connectivity/dbsettings/_index.md

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
---
22
title: Class DbSettings
33
second_title: Aspose.Tasks for .NET API Reference
4-
description: Aspose.Tasks.Connectivity.DbSettings class. Allows to specify settings to read from project database
4+
description: Aspose.Tasks.Connectivity.DbSettings class.
55
type: docs
66
weight: 290
77
url: /net/aspose.tasks.connectivity/dbsettings/
88
---
99
## DbSettings class
1010

11-
Allows to specify settings to read from project database.
12-
1311
```csharp
1412
public abstract class DbSettings
1513
```
@@ -18,26 +16,8 @@ public abstract class DbSettings
1816

1917
| Name | Description |
2018
| --- | --- |
21-
| [ConnectionString](../../aspose.tasks.connectivity/dbsettings/connectionstring/) { get; set; } | Gets or sets the connection string. |
22-
| [ProviderInvariantName](../../aspose.tasks.connectivity/dbsettings/providerinvariantname/) { getset; } | Gets or sets provider invariant name which is used to get an instance of the DbProviderFactory class. Default value is SqlClient. |
23-
24-
## Examples
25-
26-
Shows how to read a project from a Primavera XML file with multiple projects by using a provider name.
27-
28-
```csharp
29-
var connectionString = "Data Source=" + DataDir + "\\PPMDBSQLite.db";
30-
31-
// Create Primavera DB Settings using connection string and project id
32-
var settings = new PrimaveraDbSettings(connectionString, 4502);
33-
settings.ProviderInvariantName = "System.Data.SQLite";
34-
35-
Console.WriteLine("Connection String: " + settings.ConnectionString);
36-
Console.WriteLine("Provider Name: " + settings.ProviderInvariantName);
37-
38-
var project = new Project(settings);
39-
project.Save(OutDir + "SupportForSQLiteDatabase_out.mpp", SaveFileFormat.Mpp);
40-
```
19+
| [ConnectionString](../../aspose.tasks.connectivity/dbsettings/connectionstring/) { get; set; } | |
20+
| [ProviderInvariantName](../../aspose.tasks.connectivity/dbsettings/providerinvariantname/) { getset; } | |
4121

4222
### See Also
4323

english/net/aspose.tasks.connectivity/dbsettings/connectionstring/_index.md

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,17 @@
11
---
22
title: DbSettings.ConnectionString
33
second_title: Aspose.Tasks for .NET API Reference
4-
description: DbSettings property. Gets or sets the connection string
4+
description: DbSettings property.
55
type: docs
66
weight: 10
77
url: /net/aspose.tasks.connectivity/dbsettings/connectionstring/
88
---
99
## DbSettings.ConnectionString property
1010

11-
Gets or sets the connection string.
12-
1311
```csharp
1412
public string ConnectionString { get; set; }
1513
```
1614

17-
## Examples
18-
19-
Shows how to read a project from a Primavera XML file with multiple projects by using a provider name.
20-
21-
```csharp
22-
var connectionString = "Data Source=" + DataDir + "\\PPMDBSQLite.db";
23-
24-
// Create Primavera DB Settings using connection string and project id
25-
var settings = new PrimaveraDbSettings(connectionString, 4502);
26-
settings.ProviderInvariantName = "System.Data.SQLite";
27-
28-
Console.WriteLine("Connection String: " + settings.ConnectionString);
29-
Console.WriteLine("Provider Name: " + settings.ProviderInvariantName);
30-
31-
var project = new Project(settings);
32-
project.Save(OutDir + "SupportForSQLiteDatabase_out.mpp", SaveFileFormat.Mpp);
33-
```
34-
3515
### See Also
3616

3717
* class [DbSettings](../)

english/net/aspose.tasks.connectivity/dbsettings/providerinvariantname/_index.md

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,17 @@
11
---
22
title: DbSettings.ProviderInvariantName
33
second_title: Aspose.Tasks for .NET API Reference
4-
description: DbSettings property. Gets or sets provider invariant name which is used to get an instance of the DbProviderFactory class. Default value is SqlClient
4+
description: DbSettings property.
55
type: docs
66
weight: 20
77
url: /net/aspose.tasks.connectivity/dbsettings/providerinvariantname/
88
---
99
## DbSettings.ProviderInvariantName property
1010

11-
Gets or sets provider invariant name which is used to get an instance of the DbProviderFactory class. Default value is SqlClient.
12-
1311
```csharp
1412
public string ProviderInvariantName { get; set; }
1513
```
1614

17-
## Examples
18-
19-
Shows how to read a project from a Primavera XML file with multiple projects by using a provider name.
20-
21-
```csharp
22-
var connectionString = "Data Source=" + DataDir + "\\PPMDBSQLite.db";
23-
24-
// Create Primavera DB Settings using connection string and project id
25-
var settings = new PrimaveraDbSettings(connectionString, 4502);
26-
settings.ProviderInvariantName = "System.Data.SQLite";
27-
28-
Console.WriteLine("Connection String: " + settings.ConnectionString);
29-
Console.WriteLine("Provider Name: " + settings.ProviderInvariantName);
30-
31-
var project = new Project(settings);
32-
project.Save(OutDir + "SupportForSQLiteDatabase_out.mpp", SaveFileFormat.Mpp);
33-
```
34-
3515
### See Also
3616

3717
* class [DbSettings](../)

english/net/aspose.tasks.connectivity/mpdsettings/_index.md

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
---
22
title: Class MpdSettings
33
second_title: Aspose.Tasks for .NET API Reference
4-
description: Aspose.Tasks.Connectivity.MpdSettings class. Allows to set necessary options to read project data from MPD format MS Access database file format
4+
description: Aspose.Tasks.Connectivity.MpdSettings class.
55
type: docs
66
weight: 300
77
url: /net/aspose.tasks.connectivity/mpdsettings/
88
---
99
## MpdSettings class
1010

11-
Allows to set necessary options to read project data from MPD format (MS Access database file format).
12-
1311
```csharp
1412
public class MpdSettings : DbSettings
1513
```
@@ -18,28 +16,15 @@ public class MpdSettings : DbSettings
1816

1917
| Name | Description |
2018
| --- | --- |
21-
| [MpdSettings](mpdsettings/)(stringint) | Initializes a new instance of the `MpdSettings` class. |
19+
| [MpdSettings](mpdsettings/)(stringint) | |
2220

2321
## Properties
2422

2523
| Name | Description |
2624
| --- | --- |
27-
| [ConnectionString](../../aspose.tasks.connectivity/dbsettings/connectionstring/) { get; set; } | Gets or sets the connection string. |
28-
| [ProjectId](../../aspose.tasks.connectivity/mpdsettings/projectid/) { get; } | Gets id of the project to read. |
29-
| [ProviderInvariantName](../../aspose.tasks.connectivity/dbsettings/providerinvariantname/) { getset; } | Gets or sets provider invariant name which is used to get an instance of the DbProviderFactory class. Default value is SqlClient. |
30-
31-
## Examples
32-
33-
Shows how to use MPD settings to control import of project from the database.
34-
35-
```csharp
36-
var settings = new MpdSettings("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" + DataDir + "MpdFileToRead.mpd", 1);
37-
38-
Console.WriteLine("Project ID to load: " + settings.ProjectId);
39-
40-
var project = new Project(settings);
41-
Console.WriteLine(project.Get(Prj.Name));
42-
```
25+
| [ConnectionString](../../aspose.tasks.connectivity/dbsettings/connectionstring/) { get; set; } | |
26+
| [ProjectId](../../aspose.tasks.connectivity/mpdsettings/projectid/) { get; } | |
27+
| [ProviderInvariantName](../../aspose.tasks.connectivity/dbsettings/providerinvariantname/) { getset; } | |
4328

4429
### See Also
4530

english/net/aspose.tasks.connectivity/mpdsettings/mpdsettings/_index.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,17 @@
11
---
22
title: MpdSettings.MpdSettings
33
second_title: Aspose.Tasks for .NET API Reference
4-
description: MpdSettings constructor. Initializes a new instance of the MpdSettings class
4+
description: MpdSettings constructor.
55
type: docs
66
weight: 10
77
url: /net/aspose.tasks.connectivity/mpdsettings/mpdsettings/
88
---
99
## MpdSettings constructor
1010

11-
Initializes a new instance of the [`MpdSettings`](../) class.
12-
1311
```csharp
1412
public MpdSettings(string connectionString, int projectId)
1513
```
1614

17-
| Parameter | Type | Description |
18-
| --- | --- | --- |
19-
| connectionString | String | the specified connection string. |
20-
| projectId | Int32 | the specified id of a project to read. |
21-
22-
## Examples
23-
24-
Shows how to read a project from an MPD file.
25-
26-
```csharp
27-
DbSettings settings = new MpdSettings("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" + DataDir + "MpdFileToRead.mpd", 1);
28-
var project = new Project(settings);
29-
Console.WriteLine(project.Get(Prj.Name));
30-
```
31-
3215
### See Also
3316

3417
* class [MpdSettings](../)

english/net/aspose.tasks.connectivity/mpdsettings/projectid/_index.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,17 @@
11
---
22
title: MpdSettings.ProjectId
33
second_title: Aspose.Tasks for .NET API Reference
4-
description: MpdSettings property. Gets id of the project to read
4+
description: MpdSettings property.
55
type: docs
66
weight: 20
77
url: /net/aspose.tasks.connectivity/mpdsettings/projectid/
88
---
99
## MpdSettings.ProjectId property
1010

11-
Gets id of the project to read.
12-
1311
```csharp
1412
public int ProjectId { get; }
1513
```
1614

17-
## Examples
18-
19-
Shows how to use MPD settings to control import of project from the database.
20-
21-
```csharp
22-
var settings = new MpdSettings("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" + DataDir + "MpdFileToRead.mpd", 1);
23-
24-
Console.WriteLine("Project ID to load: " + settings.ProjectId);
25-
26-
var project = new Project(settings);
27-
Console.WriteLine(project.Get(Prj.Name));
28-
```
29-
3015
### See Also
3116

3217
* class [MpdSettings](../)

0 commit comments

Comments
 (0)