コード例 #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);
            }
        }
コード例 #2
0
        public ElectricBillDocument()
        {
            var CurrModelType = DataModelProvider.GetModel(_type);

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