Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions english/net/aspose.tasks.connectivity/dbsettings/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public abstract class DbSettings
| Name | Description |
| --- | --- |
| [ConnectionString](../../aspose.tasks.connectivity/dbsettings/connectionstring/) { get; set; } | Gets or sets the connection string. |
| [ProjectLoadingCallback](../../aspose.tasks.connectivity/dbsettings/projectloadingcallback/) { get; set; } | Gets or sets the callback to be invoked during project loading operations. |
| [ProviderFactory](../../aspose.tasks.connectivity/dbsettings/providerfactory/) { get; set; } | Gets or sets an instance of DbProviderFactory which is used to connect to DB. If both ProviderFactory and ProviderInvariantName are set, ProviderFactory has a priority. Default value is null. |
| [ProviderInvariantName](../../aspose.tasks.connectivity/dbsettings/providerinvariantname/) { get; set; } | Gets or sets provider invariant name which is used to get an instance of the DbProviderFactory class. Default value is SqlClient. |

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: DbSettings.ProjectLoadingCallback
second_title: Aspose.Tasks for .NET API Reference
description: DbSettings property. Gets or sets the callback to be invoked during project loading operations
type: docs
weight: 20
url: /net/aspose.tasks.connectivity/dbsettings/projectloadingcallback/
---
## DbSettings.ProjectLoadingCallback property

Gets or sets the callback to be invoked during project loading operations.

```csharp
public IProgressNotificationCallback ProjectLoadingCallback { get; set; }
```

### See Also

* interface [IProgressNotificationCallback](../../../aspose.tasks/iprogressnotificationcallback/)
* class [DbSettings](../)
* namespace [Aspose.Tasks.Connectivity](../../dbsettings/)
* assembly [Aspose.Tasks](../../../)


Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: DbSettings.ProviderFactory
second_title: Aspose.Tasks for .NET API Reference
description: DbSettings property. Gets or sets an instance of DbProviderFactory which is used to connect to DB. If both ProviderFactory and ProviderInvariantName are set ProviderFactory has a priority. Default value is null
type: docs
weight: 20
weight: 30
url: /net/aspose.tasks.connectivity/dbsettings/providerfactory/
---
## DbSettings.ProviderFactory property
Expand All @@ -14,6 +14,24 @@ Gets or sets an instance of DbProviderFactory which is used to connect to DB. If
public DbProviderFactory ProviderFactory { get; set; }
```

## Examples

Shows how to import a project from a Primavera database.

```csharp
// Initialize a new instance of the PrimaveraDbSettings class with connection string and project id
var settings = new PrimaveraDbSettings(GetConnectionString(), 4502);
settings.ProviderFactory = SqliteFactory.Instance;

Console.WriteLine("Project UID to read: " + settings.ProjectId);

// read the project with UID = 4502
var project = new Project(settings);
Console.WriteLine(project.Uid);
Console.WriteLine(project.Name);
Console.WriteLine(project.PrimaveraProperties.ShortName);
```

### See Also

* class [DbSettings](../)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: DbSettings.ProviderInvariantName
second_title: Aspose.Tasks for .NET API Reference
description: DbSettings property. Gets or sets provider invariant name which is used to get an instance of the DbProviderFactory class. Default value is SqlClient
type: docs
weight: 30
weight: 40
url: /net/aspose.tasks.connectivity/dbsettings/providerinvariantname/
---
## DbSettings.ProviderInvariantName property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public class MpdSettings : DbSettings
| --- | --- |
| [ConnectionString](../../aspose.tasks.connectivity/dbsettings/connectionstring/) { get; set; } | Gets or sets the connection string. |
| [ProjectId](../../aspose.tasks.connectivity/mpdsettings/projectid/) { get; } | Gets id of the project to read. |
| [ProjectLoadingCallback](../../aspose.tasks.connectivity/dbsettings/projectloadingcallback/) { get; set; } | Gets or sets the callback to be invoked during project loading operations. |
| [ProviderFactory](../../aspose.tasks.connectivity/dbsettings/providerfactory/) { get; set; } | Gets or sets an instance of DbProviderFactory which is used to connect to DB. If both ProviderFactory and ProviderInvariantName are set, ProviderFactory has a priority. Default value is null. |
| [ProviderInvariantName](../../aspose.tasks.connectivity/dbsettings/providerinvariantname/) { get; set; } | Gets or sets provider invariant name which is used to get an instance of the DbProviderFactory class. Default value is SqlClient. |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public class MspDbSettings : DbSettings
| --- | --- |
| [ConnectionString](../../aspose.tasks.connectivity/dbsettings/connectionstring/) { get; set; } | Gets or sets the connection string. |
| [ProjectGuid](../../aspose.tasks.connectivity/mspdbsettings/projectguid/) { get; } | Gets the guid of the project to read. |
| [ProjectLoadingCallback](../../aspose.tasks.connectivity/dbsettings/projectloadingcallback/) { get; set; } | Gets or sets the callback to be invoked during project loading operations. |
| [ProviderFactory](../../aspose.tasks.connectivity/dbsettings/providerfactory/) { get; set; } | Gets or sets an instance of DbProviderFactory which is used to connect to DB. If both ProviderFactory and ProviderInvariantName are set, ProviderFactory has a priority. Default value is null. |
| [ProviderInvariantName](../../aspose.tasks.connectivity/dbsettings/providerinvariantname/) { get; set; } | Gets or sets provider invariant name which is used to get an instance of the DbProviderFactory class. Default value is SqlClient. |
| [Schema](../../aspose.tasks.connectivity/mspdbsettings/schema/) { get; set; } | Gets or sets the schema of the MS Project Server. The default value is "pub". |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public class PrimaveraDbSettings : DbSettings
| --- | --- |
| [ConnectionString](../../aspose.tasks.connectivity/dbsettings/connectionstring/) { get; set; } | Gets or sets the connection string. |
| [ProjectId](../../aspose.tasks.connectivity/primaveradbsettings/projectid/) { get; } | Gets id of the project to read. |
| [ProjectLoadingCallback](../../aspose.tasks.connectivity/dbsettings/projectloadingcallback/) { get; set; } | Gets or sets the callback to be invoked during project loading operations. |
| [ProviderFactory](../../aspose.tasks.connectivity/dbsettings/providerfactory/) { get; set; } | Gets or sets an instance of DbProviderFactory which is used to connect to DB. If both ProviderFactory and ProviderInvariantName are set, ProviderFactory has a priority. Default value is null. |
| [ProviderInvariantName](../../aspose.tasks.connectivity/dbsettings/providerinvariantname/) { get; set; } | Gets or sets provider invariant name which is used to get an instance of the DbProviderFactory class. Default value is SqlClient. |

Expand All @@ -36,6 +37,7 @@ Shows how to import a project from a Primavera database.
```csharp
// Initialize a new instance of the PrimaveraDbSettings class with connection string and project id
var settings = new PrimaveraDbSettings(GetConnectionString(), 4502);
settings.ProviderFactory = SqliteFactory.Instance;

Console.WriteLine("Project UID to read: " + settings.ProjectId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Shows how to import a project from a Primavera database.
```csharp
// Initialize a new instance of the PrimaveraDbSettings class with connection string and project id
var settings = new PrimaveraDbSettings(GetConnectionString(), 4502);
settings.ProviderFactory = SqliteFactory.Instance;

Console.WriteLine("Project UID to read: " + settings.ProjectId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Shows how to import a project from a Primavera database.
```csharp
// Initialize a new instance of the PrimaveraDbSettings class with connection string and project id
var settings = new PrimaveraDbSettings(GetConnectionString(), 4502);
settings.ProviderFactory = SqliteFactory.Instance;

Console.WriteLine("Project UID to read: " + settings.ProjectId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class LevelingOptions
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Leveling.LevelingOptions class. Allows to specify parameters of resource leveling
type: docs
weight: 930
weight: 940
url: /net/aspose.tasks.leveling/levelingoptions/
---
## LevelingOptions class
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks.leveling/levelingorder/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum LevelingOrder
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Leveling.LevelingOrder enum. Defines the possible values of leveling order
type: docs
weight: 940
weight: 950
url: /net/aspose.tasks.leveling/levelingorder/
---
## LevelingOrder enumeration
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks.leveling/levelingresult/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class LevelingResult
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Leveling.LevelingResult class. Represents the results of resource leveling
type: docs
weight: 950
weight: 960
url: /net/aspose.tasks.leveling/levelingresult/
---
## LevelingResult class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class ResourceLeveler
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Leveling.ResourceLeveler class. Contains resource leveling methods
type: docs
weight: 960
weight: 970
url: /net/aspose.tasks.leveling/resourceleveler/
---
## ResourceLeveler class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum PrimaveraActivityType
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Primavera.PrimaveraActivityType enum. Specifies type of Primavera activity
type: docs
weight: 1250
weight: 1260
url: /net/aspose.tasks.primavera/primaveraactivitytype/
---
## PrimaveraActivityType enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum PrimaveraConstraintType
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Primavera.PrimaveraConstraintType enum. Specifies a type of activitys constraint
type: docs
weight: 1260
weight: 1270
url: /net/aspose.tasks.primavera/primaveraconstrainttype/
---
## PrimaveraConstraintType enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum PrimaveraDurationType
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Primavera.PrimaveraDurationType enum. Specifies duration type of Primavera activity
type: docs
weight: 1270
weight: 1280
url: /net/aspose.tasks.primavera/primaveradurationtype/
---
## PrimaveraDurationType enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum PrimaveraPercentCompleteType
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Primavera.PrimaveraPercentCompleteType enum. Specifies value of Complete Type field for Primavera activities
type: docs
weight: 1280
weight: 1290
url: /net/aspose.tasks.primavera/primaverapercentcompletetype/
---
## PrimaveraPercentCompleteType enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class PrimaveraProjectInfo
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Primavera.PrimaveraProjectInfo class. Represents short info about a project loaded from Primavera format
type: docs
weight: 1290
weight: 1300
url: /net/aspose.tasks.primavera/primaveraprojectinfo/
---
## PrimaveraProjectInfo class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum PrimaveraRelationshipLagCalendar
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Primavera.PrimaveraRelationshipLagCalendar enum. Specifies which calendar to use for scheduling Relationship Lag in Primavera projects
type: docs
weight: 1300
weight: 1310
url: /net/aspose.tasks.primavera/primaverarelationshiplagcalendar/
---
## PrimaveraRelationshipLagCalendar enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class BuiltInProjectProperty
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Properties.BuiltInProjectProperty class. Represents a builtin property
type: docs
weight: 1500
weight: 1520
url: /net/aspose.tasks.properties/builtinprojectproperty/
---
## BuiltInProjectProperty class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class BuiltInProjectPropertyCollection
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Properties.BuiltInProjectPropertyCollection class. Represents a collection of builtin project properties
type: docs
weight: 1510
weight: 1530
url: /net/aspose.tasks.properties/builtinprojectpropertycollection/
---
## BuiltInProjectPropertyCollection class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class CustomProjectProperty
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Properties.CustomProjectProperty class. Represents a custom property
type: docs
weight: 1520
weight: 1540
url: /net/aspose.tasks.properties/customprojectproperty/
---
## CustomProjectProperty class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class CustomProjectPropertyCollection
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Properties.CustomProjectPropertyCollection class. Represents a collection of custom project properties
type: docs
weight: 1530
weight: 1550
url: /net/aspose.tasks.properties/customprojectpropertycollection/
---
## CustomProjectPropertyCollection class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum CustomPropertyType
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Properties.CustomPropertyType enum. Represents a custom property type enumeration
type: docs
weight: 1540
weight: 1560
url: /net/aspose.tasks.properties/custompropertytype/
---
## CustomPropertyType enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Struct GenericPropertyTKey
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Properties.GenericProperty1TKey struct. Represents a container property
type: docs
weight: 1550
weight: 1570
url: /net/aspose.tasks.properties/genericproperty-1/
---
## GenericProperty<TKey> structure
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks.properties/property/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class Property
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Properties.Property class. Represents a base class of a property
type: docs
weight: 1560
weight: 1580
url: /net/aspose.tasks.properties/property/
---
## Property class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class PropertyCollectionT
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Properties.PropertyCollection1T class. A base class of collection of properties
type: docs
weight: 1570
weight: 1590
url: /net/aspose.tasks.properties/propertycollection-1/
---
## PropertyCollection<T> class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class PropertyKeyedCollectionT
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Properties.PropertyKeyedCollection1T class. A base class of collection of properties
type: docs
weight: 1580
weight: 1600
url: /net/aspose.tasks.properties/propertykeyedcollection-1/
---
## PropertyKeyedCollection<T> class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum ConfidenceLevel
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.RiskAnalysis.ConfidenceLevel enum. Specifies supported confidence levels used in risk analysis that correspond to the percentage of the time the actual values will be within optimistic and pessimistic estimates
type: docs
weight: 1830
weight: 1850
url: /net/aspose.tasks.riskanalysis/confidencelevel/
---
## ConfidenceLevel enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum ProbabilityDistributionType
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.RiskAnalysis.ProbabilityDistributionType enum. Specifies types of supported probability distributions
type: docs
weight: 1840
weight: 1860
url: /net/aspose.tasks.riskanalysis/probabilitydistributiontype/
---
## ProbabilityDistributionType enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class RiskAnalysisResult
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.RiskAnalysis.RiskAnalysisResult class. Represents a result of risk analysis
type: docs
weight: 1850
weight: 1870
url: /net/aspose.tasks.riskanalysis/riskanalysisresult/
---
## RiskAnalysisResult class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class RiskAnalysisSettings
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.RiskAnalysis.RiskAnalysisSettings class. Specifies settings for performing risk analysis
type: docs
weight: 1860
weight: 1880
url: /net/aspose.tasks.riskanalysis/riskanalysissettings/
---
## RiskAnalysisSettings class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class RiskAnalyzer
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.RiskAnalysis.RiskAnalyzer class. Performs a Monte Carlo simulation based on the specified risk analysis settings
type: docs
weight: 1870
weight: 1890
url: /net/aspose.tasks.riskanalysis/riskanalyzer/
---
## RiskAnalyzer class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class RiskItemStatistics
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.RiskAnalysis.RiskItemStatistics class. Represents an item which stores statistical data for the task of the analyzed project
type: docs
weight: 1880
weight: 1900
url: /net/aspose.tasks.riskanalysis/riskitemstatistics/
---
## RiskItemStatistics class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class RiskItemStatisticsCollection
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.RiskAnalysis.RiskItemStatisticsCollection class. Represents a collection containing the instances of the RiskItemStatistics class
type: docs
weight: 1890
weight: 1910
url: /net/aspose.tasks.riskanalysis/riskitemstatisticscollection/
---
## RiskItemStatisticsCollection class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enum RiskItemType
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.RiskAnalysis.RiskItemType enum. Specifies task fields for which the statistical information is gathered during risk analysis
type: docs
weight: 1900
weight: 1920
url: /net/aspose.tasks.riskanalysis/riskitemtype/
---
## RiskItemType enumeration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class RiskPattern
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.RiskAnalysis.RiskPattern class. Represents a risk pattern for a project task
type: docs
weight: 1910
weight: 1930
url: /net/aspose.tasks.riskanalysis/riskpattern/
---
## RiskPattern class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class RiskPatternCollection
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.RiskAnalysis.RiskPatternCollection class. Represents a collection containing the instances of the RiskPattern class
type: docs
weight: 1920
weight: 1940
url: /net/aspose.tasks.riskanalysis/riskpatterncollection/
---
## RiskPatternCollection class
Expand Down
2 changes: 1 addition & 1 deletion english/net/aspose.tasks.saving/csvoptions/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Class CsvOptions
second_title: Aspose.Tasks for .NET API Reference
description: Aspose.Tasks.Saving.CsvOptions class. Allows to specify additional options when saving project to CSV
type: docs
weight: 1960
weight: 1980
url: /net/aspose.tasks.saving/csvoptions/
---
## CsvOptions class
Expand Down
Loading
Loading