Ejemplo n.º 1
0
        public ElectricBillDocument(Guid Id)
        {
            var CurrModelType = DataModelProvider.GetModel(_type);

            CurrModel = (ElectricBill)Activator.CreateInstance(CurrModelType);
            using (ApplicationContext db = new ApplicationContext())
            {
                var incomeDocType = db.DocumentTypes.Where(d => d.IsIncome);
            }
        }
Ejemplo n.º 2
0
        public ElectricBillDocument()
        {
            var CurrModelType = DataModelProvider.GetModel(_type);

            CurrModel = (ElectricBill)Activator.CreateInstance(CurrModelType);
        }