Exemple #1
0
        public static LlaveFactura GetLlaveFacturaById(int pk)
        {
            AppSales.DAL.LlaveFacturaDSTableAdapters.LlaveFacturaTableAdapter objDataSet = new AppSales.DAL.LlaveFacturaDSTableAdapters.LlaveFacturaTableAdapter();
            LlaveFacturaDS.LlaveFacturaDataTable dtLlaveFactura = objDataSet.GetLlaveFacturaByID(pk);
            LlaveFactura objLlaveFactura = rowToDto(dtLlaveFactura[0]);

            return(objLlaveFactura);
        }