Пример #1
0
        /// <summary>
        /// Получение данных по ИД заказчика
        /// </summary>
        /// <param name="id">ИД заказчиков</param>
        public void GetData(int id)
        {
            string sqlstr = $"SELECT * FROM ADDRESS_CATALOG WHERE ADDRESS_ID = {id}";

            using (OracleConnection connection = GetConnection())
            {
                catCredit = connection.QueryFirstOrDefault <CustomerCatCredit>(sqlstr, null);
            }
        }
Пример #2
0
 /// <summary>
 /// Конструктор создания модели Customer_catalog_credit
 /// </summary>
 /// <param name="interfaceMng"></param>
 public CCreditEngine(TL4EngineInterfaceMngRepo interfaceMng)
 {
     this.catCredit = new CustomerCatCredit();
 }