Example #1
0
 /// <summary>
 /// retrieve cacheable Conference table
 /// </summary>
 /// <param name="ACacheableTable">enum that defines Conference table to be returned</param>
 /// <returns></returns>
 public static DataTable GetCacheableConferenceTable(TCacheableConferenceTablesEnum ACacheableTable)
 {
     if (FDelegateGetCacheableConferenceTable != null)
     {
         return(FDelegateGetCacheableConferenceTable(ACacheableTable));
     }
     else
     {
         throw new InvalidOperationException("Delegate 'TGetCacheableConferenceTable' must be initialised before calling this Method");
     }
 }
 /// <summary>
 /// Returns a certain cachable DataTable that contains all columns and all
 /// rows of a specified table.
 ///
 /// @comment Wrapper for other GetCacheableTable method
 /// </summary>
 ///
 /// <param name="ACacheableTable">Tells what cacheable DataTable should be returned.</param>
 /// <returns>DataTable</returns>
 public DataTable GetCacheableTable(TCacheableConferenceTablesEnum ACacheableTable)
 {
     System.Type TmpType;
     return GetCacheableTable(ACacheableTable, "", false, out TmpType);
 }
Example #3
0
 /// <summary>
 /// retrieve cacheable Conference table
 /// </summary>
 /// <param name="ACacheableTable">enum that defines Conference table to be returned</param>
 /// <returns></returns>
 public static DataTable GetCacheableConferenceTable(TCacheableConferenceTablesEnum ACacheableTable)
 {
     if (FDelegateGetCacheableConferenceTable != null)
     {
         return FDelegateGetCacheableConferenceTable(ACacheableTable);
     }
     else
     {
         throw new InvalidOperationException("Delegate 'TGetCacheableConferenceTable' must be initialised before calling this Method");
     }
 }
 /// <summary>
 /// Returns a certain cachable DataTable that contains all columns and all
 /// rows of a specified table.
 ///
 /// @comment Wrapper for other GetCacheableTable method
 /// </summary>
 ///
 /// <param name="ACacheableTable">Tells what cacheable DataTable should be returned.</param>
 /// <returns>DataTable</returns>
 public DataTable GetCacheableTable(TCacheableConferenceTablesEnum ACacheableTable)
 {
     System.Type TmpType;
     return(GetCacheableTable(ACacheableTable, "", false, out TmpType));
 }
Example #5
0
 /**
  * Returns the chosen DataTable for the Conference Namespace from the Cache.
  *
  * If the DataTable is not available on the Client side, it is automatically
  * retrieved from the Petra Server.
  *
  * @param ACacheableTable The cached DataTable that should be returned in the
  * DataSet
  * @return Chosen DataTable
  *
  */
 public static DataTable GetCacheableConferenceTable2(TCacheableConferenceTablesEnum ACacheableTable, string ACustomTableName)
 {
     return TDataCache.GetCacheableDataTableFromCache2(ACacheableTable.ToString(), ACustomTableName);
 }
Example #6
0
 /**
  * Returns the chosen DataTable for the Conference Namespace from the Cache.
  *
  * If the DataTable is not available on the Client side, it is automatically
  * retrieved from the Petra Server.
  *
  * @param ACacheableTable The cached DataTable that should be returned in the
  * DataSet
  * @return Chosen DataTable
  *
  */
 public static DataTable GetCacheableConferenceTable(TCacheableConferenceTablesEnum ACacheableTable)
 {
     return GetCacheableConferenceTable2(ACacheableTable, String.Empty);
 }