Deprecated and Removed Members: Difference between revisions
Jump to navigation
Jump to search
Kate Racaza (talk | contribs) |
Kate Racaza (talk | contribs) |
||
Line 10: | Line 10: | ||
==Changes since Synthesis API Version 10== | ==Changes since Synthesis API Version 10== | ||
===[[Repository Class]]=== | |||
All members of the Repository class have been organized into fields named after the object type they apply to. For example, the <code>Repository.GetAllModels()</code> method, which returns a cModel object, has been renamed to <code>Repository.Model.GetAllModels()</code>; similarly, the <code>Repository.ImportBlockSimXMLFile</code> method has been renamed to <code>Repository.BlockSim.ImportBlockSimXMLFile</code>, etc. The Version 9 methods still exist so your code is not broken, but they are deprecated and may be removed in future versions of the API. | |||
In addition, the [[Repository.Model.GetAllModelsInfo|Model.GetAllModelsInfo]] method is also deprecated. | |||
===[[CAction Class|cAction Class]]=== | ===[[CAction Class|cAction Class]]=== | ||
====Properties==== | ====Properties==== | ||
Line 52: | Line 58: | ||
|TaskFreqValueVariableIDOrig||Deprecated | |TaskFreqValueVariableIDOrig||Deprecated | ||
|} | |} | ||
Revision as of 21:31, 27 August 2015
This page provides a summary of the changes in the Synthesis API since its earlier version. The status of an object member may be any of the following:
- Modified - The syntax of the member has changed.
- Deprecated - The member is obsolete and may be removed in future versions of the API. Do not use it in new applications.
- Removed - The member has been removed from the object model.
Changes since Synthesis API Version 10
Repository Class
All members of the Repository class have been organized into fields named after the object type they apply to. For example, the Repository.GetAllModels()
method, which returns a cModel object, has been renamed to Repository.Model.GetAllModels()
; similarly, the Repository.ImportBlockSimXMLFile
method has been renamed to Repository.BlockSim.ImportBlockSimXMLFile
, etc. The Version 9 methods still exist so your code is not broken, but they are deprecated and may be removed in future versions of the API.
In addition, the Model.GetAllModelsInfo method is also deprecated.
cAction Class
Properties
Name | Status |
---|---|
AppAndRevBy | Removed |
AppDate | Removed |
AppUserID | Removed |
CompDate | Removed |
DueDate | Removed |
Duration | Removed |
EstCost | Removed |
PersonResp | Removed |
RespUserID | Removed |
ShortDsc | Removed |
StartDate | Removed |
StatusFlag | Removed |
cScheduledTask Class
Properties
Name | Status |
---|---|
TaskFrequencyIDOrig | Deprecated |
TaskFrequencyUnitIDOrig | Deprecated |
TaskFrequencyValueOrig | Deprecated |
TaskFreqValueVariableIDOrig | Deprecated |