Repository.DataWarehouse.SaveRawDataSet: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Template:APIClass|Repository Class|Repository}}
{{Template:APIClass|Repository Class|Repository}}
{{Template:Repository.SaveRawDataSet.Cmt}} {{Template:BooleanReturn.Cmt}}
{{Template:Repository.SaveRawDataSet.Cmt}}  


To view an added data set in Weibull++ or RGA, choose '''Project > Synthesis > RDW to Folio'''.
To view an added data set in Weibull++ or RGA, choose '''Project > Synthesis > RDW to Folio'''.
Line 9: Line 9:
Parameters:
Parameters:
:''DataSet'': The raw data object.
:''DataSet'': The raw data object.
{{Template:BooleanReturn.Cmt}}


== Usage Example ==
== Usage Example ==

Revision as of 16:50, 22 May 2015


To view an added data set in Weibull++ or RGA, choose Project > Synthesis > RDW to Folio.

Syntax

  • SaveRawDataSet( DataSet As RawDataSet ) As Boolean

Parameters:

DataSet: The raw data object.

Returns True if successful, otherwise returns False.

Usage Example

 'Declare a new repository connection object. 
 Dim MyRepository As New Repository
 
 'Connect to the Synthesis repository. 
 Dim Success As Boolean = False
 Success = MyRepository.ConnectToRepository("RepositoryFileNamePath")
 
 'Declare and populate a RawData object and a RawDataSet. 
 'In this example, the first Incident information is used. 
 Dim RD As New RawData
   '<Populate relevant RawData variables in RD.> 
 Dim RDSet As New RawDataSet
 RDSet.AddDataRow(RD)
 
 'Save the raw data to the Synthesis repository. 
 Dim SuccessSaveRawData As Boolean
 SuccessSaveRawData = MyRepository.DataWarehouse.SaveRawDataSet(RDSet)