Пример #1
0
 protected override bool doIsCodeExist(string code)
 {
     try
     {
         m_command.CommandText = OpeningStock.SelectCountByCode(code);
         int t = Convert.ToInt32(m_command.ExecuteScalar());
         return(t > 0);
     }
     catch (Exception x)
     {
         throw x;
     }
 }