Ejemplo n.º 1
0
 /// -----------------------------------------------------------------------------
 /// <summary>
 /// gets an object from the database
 /// </summary>
 /// <remarks>
 /// </remarks>
 /// <param name="ModuleId">The Id of the module</param>
 /// <history>
 /// </history>
 /// -----------------------------------------------------------------------------
 public List <DnnTestInfo> GetDnnTests(int ModuleId)
 {
     return(CBO.FillCollection <DnnTestInfo>(DataProvider.Instance().GetDnnTests(ModuleId)));
 }
Ejemplo n.º 2
0
 /// -----------------------------------------------------------------------------
 /// <summary>
 /// gets an object from the database
 /// </summary>
 /// <remarks>
 /// </remarks>
 /// <param name="ModuleId">The Id of the module</param>
 /// <param name="ItemId">The Id of the item</param>
 /// <history>
 /// </history>
 /// -----------------------------------------------------------------------------
 public DnnTestInfo GetDnnTest(int ModuleId, int ItemId)
 {
     return((DnnTestInfo)CBO.FillObject(DataProvider.Instance().GetDnnTest(ModuleId, ItemId), typeof(DnnTestInfo)));
 }
Ejemplo n.º 3
0
 /// -----------------------------------------------------------------------------
 /// <summary>
 /// deletes an object from the database
 /// </summary>
 /// <remarks>
 /// </remarks>
 /// <param name="ModuleId">The Id of the module</param>
 /// <param name="ItemId">The Id of the item</param>
 /// <history>
 /// </history>
 /// -----------------------------------------------------------------------------
 public void DeleteDnnTest(int ModuleId, int ItemId)
 {
     DataProvider.Instance().DeleteDnnTest(ModuleId, ItemId);
 }