예제 #1
0
        public FacturasBO(string pConnection, string pId)
        {
            FacturasEntity pFacturas = new FacturasEntity();

            pFacturas.id = pId;

            try
            {
                this.FillEntity(FacturasDAL.GetSingle(pConnection, pFacturas));
            }
            catch (Exception e)
            {
                this.FillEntity();
            }
        }
예제 #2
0
 public static FacturasBO GetSingle(string pConnection, FacturasEntity pFacturas)
 {
     pFacturas = FacturasDAL.GetSingle(pConnection, pFacturas);
     return(new FacturasBO(pFacturas));
 }