adTempus API
ArcanaDevelopment.adTempus.Client Namespace / DataSetProjector Class / ProjectObjectsToNewDataSet Method
The name of the DataSet to create.
The collection of objects to project.


In This Topic
    ProjectObjectsToNewDataSet Method
    In This Topic
    Projects a collection of objects onto a DataSet.
    Syntax
    'Declaration
     
    
    <NotNullAttribute()>
    Public Function ProjectObjectsToNewDataSet( _
       ByVal dataSetName As String, _
       ByVal sourceObjects As IEnumerable(Of ADTObject) _
    ) As DataSet
    [NotNull()]
    public DataSet ProjectObjectsToNewDataSet( 
       string dataSetName,
       IEnumerable<ADTObject> sourceObjects
    )
    [NotNull()]
    public:
    DataSet^ ProjectObjectsToNewDataSet( 
       String^ dataSetName,
       IEnumerable<ADTObject^>^ sourceObjects
    ) 

    Parameters

    dataSetName
    The name of the DataSet to create.
    sourceObjects
    The collection of objects to project.

    Return Value

    A DataSet containing the projected data.
    Remarks
    ProjectObjects creates a new DataSet with the specified dataSetName. The DataSet is filled with DataTables representing the objects in the sourceObjects collection.
    See Also