internal void CopyValues(TPV source) { if (source == null) { return; } _record.CopyValues(source._base.Record); _cuenta_bancaria = source.CuentaBancaria; }
/// <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); }
public static string SELECT(QueryConditions conditions) { return(TPV.SELECT(conditions, false)); }
public void CopyFrom(TPV source) { _base.CopyValues(source); }