Example #1
0
        /// <summary>Obtém as notícias existentes</summary>
        protected override NewsList GetNewsFromDB()
        {
            DataSet ds = PostGreServerUtility.getAllFromDB("OrionsBelt_GetNews");

            return(NewsFromDataSet(ds));
        }
Example #2
0
		/// <summary>
		/// faz reset ao id do user
		/// </summary>
		public override void resetUserRulerId() {
			PostGreServerUtility.executeNonQuery("OrionsBelt_UsersResetUserRulerId",null);
		}
Example #3
0
 /// <summary>
 /// Carrega as seccoes existentes para uma base de dados
 /// </summary>
 /// <returns>um objecto do tipo SectionCollection com todas as collections</returns>
 override public UtilityCollection getAllSectionsFromDB()
 {
     return(storeSections(PostGreServerUtility.getAllFromDB("OrionsBelt_SectionsGetAllSections")));
 }
        public override ArrayList GetAll()
        {
            DataSet alliances = PostGreServerUtility.getAllFromDB("OrionsBelt_AllianceGetAlliance");

            return(FromDataSet(alliances));
        }
 /// <summary>
 /// remove todas as excepes
 /// </summary>
 public override void removeAll()
 {
     PostGreServerUtility.executeNonQuery("OrionsBelt_ExceptionLogRemoveAllExceptions");
 }
 /// <summary>
 /// remove a excepo com o identificador id
 /// </summary>
 /// <param name="id">identifucador da excepo</param>
 public override void remove(int id)
 {
     PostGreServerUtility.executeNonQuery("OrionsBelt_ExceptionLogRemoveException", "@id", id);
 }
 /// <summary>
 /// retorna a informao das namedPages da Base de Dados
 /// </summary>
 /// <returns>collection com as namedPages</returns>
 override public UtilityCollection getAllNamedPagesFromDB()
 {
     return(storeNamedPages(PostGreServerUtility.getAllFromDB("OrionsBelt_NamedPagesGetAllNamedPages")));
 }