Exemple #1
0
        internal void CopyValues(TPV source)
        {
            if (source == null)
            {
                return;
            }

            _record.CopyValues(source._base.Record);

            _cuenta_bancaria = source.CuentaBancaria;
        }
Exemple #2
0
        /// <summary>
        /// Retrieve the complete list from db
        /// </summary>
        /// <param name="retrieve_childs">Retrieving the childs</param>
        /// <returns></returns>
        public static TPVList GetList(bool retrieve_childs)
        {
            CriteriaEx criteria = TPV.GetCriteria(TPV.OpenSession());

            criteria.Childs = retrieve_childs;

            //No criteria. Retrieve all de List

            if (nHManager.Instance.UseDirectSQL)
            {
                criteria.Query = TPVList.SELECT();
            }

            TPVList list = DataPortal.Fetch <TPVList>(criteria);

            CloseSession(criteria.SessionCode);
            return(list);
        }
Exemple #3
0
 public static string SELECT(QueryConditions conditions)
 {
     return(TPV.SELECT(conditions, false));
 }
Exemple #4
0
 public void CopyFrom(TPV source)
 {
     _base.CopyValues(source);
 }