public static void Add(int dateTime, string name, string checkLine)
 {
     DBController.SQLInsert(
         "documents",
         "DateTime, CashierName, Data",
         $"{dateTime}, '{name}', '{checkLine}'");
 }
Esempio n. 2
0
 public static void Add(string id, string name, string accessLevel, string hash)
 {
     DBController.SQLInsert(
         "Users",
         "id, Name, AccessLevel, Hash",
         $"'{id}', '{name}', '{accessLevel}', '{hash}'");
 }
 public static void Insert(
     string ean13,
     string name,
     double price,
     double amount,
     string units,
     string shortName)
 {
     DBController.SQLInsert(
         "WareHouse",
         "EAN13, Name, Price, Amount, Units, ShortName",
         $"'{ean13}', '{name}', '{price}', '{amount}', '{units}', '{shortName}'");
 }