Ejemplo n.º 1
0
        private bool LanguageDescriptionExists()
        {
            bool result = false;

            IDataReader reader = DBOrderStatus.GetDescription(
                guid, langGuid);

            if (reader.Read())
            {
                result = true;
            }
            reader.Close();


            return(result);
        }
Ejemplo n.º 2
0
        private void GetDescription(
            Guid statusGuid,
            Guid languageGuid)
        {
            IDataReader reader = DBOrderStatus.GetDescription(
                statusGuid,
                languageGuid);

            if (reader.Read())
            {
                this.langGuid    = new Guid(reader["LanguageGuid"].ToString());
                this.description = reader["Description"].ToString();
            }

            reader.Close();
        }