8 #include <system/string.h>
10 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
16 namespace Connectivity
18 template <
typename,
typename>
class DbMapper;
20 class DbTypeConverter;
21 class MpdAssignmentBaselineMapper;
22 class MpdAssignmentMapper;
23 class MpdDateFieldMapper;
24 class MpdDurationFieldMapper;
25 class MpdExtendedAttributeDefinitionMapper;
26 class MpdFlagFieldMapper;
27 class MpdNumberFieldMapper;
28 class MpdOutlineCodeDefinitionMapper;
29 class MpdOutlineCodeFieldMapper;
30 class MpdProjectPropsMapper;
32 class MpdResourceBaselineMapper;
33 class MpdResourceMapper;
35 class MpdTaskBaselineMapper;
36 class MpdTaskLinkMapper;
38 class MpdTextFieldMapper;
39 class MspAssignmentMapper;
40 class MspCalendarMapper;
43 class MspProjectPropsMapper;
44 class MspResourceMapper;
45 class MspTaskLinksMapper;
47 class PmCurrencyMapper;
48 class PmProjectTimeMapper;
49 class PmResourceMapper;
50 class PmResourceRateMapper;
52 class PmTaskRelationMapper;
54 class PrimaveraDbReader;
55 class PrimaveraDbSettings;
65 namespace Connectivity {
70 class ASPOSE_TASKS_SHARED_CLASS
DbSettings :
public System::Object
73 typedef System::Object BaseType;
75 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
76 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
79 template<
typename FT0,
typename FT1>
friend class Aspose::Tasks::Connectivity::DbMapper;
80 friend class Aspose::Tasks::Connectivity::MpdAssignmentBaselineMapper;
81 friend class Aspose::Tasks::Connectivity::MpdAssignmentMapper;
82 friend class Aspose::Tasks::Connectivity::MpdDateFieldMapper;
83 friend class Aspose::Tasks::Connectivity::MpdDurationFieldMapper;
84 friend class Aspose::Tasks::Connectivity::MpdExtendedAttributeDefinitionMapper;
85 friend class Aspose::Tasks::Connectivity::MpdFlagFieldMapper;
86 friend class Aspose::Tasks::Connectivity::MpdNumberFieldMapper;
87 friend class Aspose::Tasks::Connectivity::MpdOutlineCodeDefinitionMapper;
88 friend class Aspose::Tasks::Connectivity::MpdOutlineCodeFieldMapper;
89 friend class Aspose::Tasks::Connectivity::MpdProjectPropsMapper;
90 friend class Aspose::Tasks::Connectivity::MpdReader;
91 friend class Aspose::Tasks::Connectivity::MpdResourceBaselineMapper;
92 friend class Aspose::Tasks::Connectivity::MpdResourceMapper;
94 friend class Aspose::Tasks::Connectivity::MpdTaskBaselineMapper;
95 friend class Aspose::Tasks::Connectivity::MpdTaskLinkMapper;
96 friend class Aspose::Tasks::Connectivity::MpdTaskMapper;
97 friend class Aspose::Tasks::Connectivity::MpdTextFieldMapper;
99 friend class Aspose::Tasks::Connectivity::MspAssignmentMapper;
100 friend class Aspose::Tasks::Connectivity::MspCalendarMapper;
101 friend class Aspose::Tasks::Connectivity::MspDbReader;
102 friend class Aspose::Tasks::Connectivity::MspProjectPropsMapper;
103 friend class Aspose::Tasks::Connectivity::MspResourceMapper;
104 friend class Aspose::Tasks::Connectivity::MspTaskLinksMapper;
105 friend class Aspose::Tasks::Connectivity::MspTaskMapper;
106 friend class Aspose::Tasks::Connectivity::PmCurrencyMapper;
107 friend class Aspose::Tasks::Connectivity::PmProjectTimeMapper;
108 friend class Aspose::Tasks::Connectivity::PmResourceMapper;
109 friend class Aspose::Tasks::Connectivity::PmResourceRateMapper;
110 friend class Aspose::Tasks::Connectivity::PmTaskMapper;
111 friend class Aspose::Tasks::Connectivity::PmTaskRelationMapper;
112 friend class Aspose::Tasks::Connectivity::PmWbsMapper;
113 friend class Aspose::Tasks::Connectivity::PrimaveraDbReader;
139 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<Aspose::Tasks::Project>& get_Project()
const;
140 ASPOSE_TASKS_SHARED_API
void set_Project(
const System::SharedPtr<Aspose::Tasks::Project>& value);
146 ASPOSE_TASKS_SHARED_API
DbSettings(
const System::String& connectionString);
148 virtual ASPOSE_TASKS_SHARED_API System::SharedPtr<DbReader> GetDbReader() = 0;
149 virtual ASPOSE_TASKS_SHARED_API System::SharedPtr<DbTypeConverter> GetTypeConverter() = 0;
150 #ifdef ASPOSE_GET_SHARED_MEMBERS
151 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
157 System::String pr_ConnectionString;
158 System::String pr_ProviderInvariantName;
159 System::WeakPtr<Aspose::Tasks::Project> pr_Project;
Allows to specify settings to read from project database.
Definition: DbSettings.h:71
void set_ConnectionString(const System::String &value)
Sets the connection string.
System::String get_ConnectionString() const
Gets the connection string.
void set_ProviderInvariantName(const System::String &value)
Sets provider invariant name which is used to get an instance of the System::Data::Common::DbProvider...
System::String get_ProviderInvariantName() const
Gets provider invariant name which is used to get an instance of the System::Data::Common::DbProvider...
Allows to set necessary options to read project data from MPD format (MS Access database file format)...
Definition: MpdSettings.h:56
Allows to set necessary options to read project data from MS Project Server database.
Definition: MspDbSettings.h:36
Allows to set necessary options to read project data from Primavera database.
Definition: PrimaveraDbSettings.h:40
Represents a project.
Definition: Project.h:552