Beispiel #1
0
        public void AddCardKuratorInfo(int card_id, Kurator kur)
        {
            _cmd = CreateCommand("AddCardKuratorInfo");
            _param = CreateParameter("@card_id", DbType.Int32, 4);
            _param.Value = card_id;
            _cmd.Parameters.Add(_param);

            _param = CreateParameter("@sotr_id", DbType.Int32, 4);
            _param.Value = kur.Id;
            _cmd.Parameters.Add(_param);

            _param = CreateParameter("@info", DbType.String, 250);
            _param.Value = kur.Info;
            _cmd.Parameters.Add(_param);
            ExecuteCommand(_cmd.ExecuteNonQuery);
        }
 public override object CreateNewItem()
 {
     editableItem = new Kurator();
     return editableItem;
 }