public void SaveFranchise(string name) { Franchises franchises = new Franchises { Name = name }; franchises.Save(ApS.Databases.SqlAction.Insert); }
public Franchises GetFranchise(int nummer) { Franchises franchises = new Franchises { Where = "Nummer = " + nummer }; franchises.Read(); return(franchises); }
public void DeleteFranchise(int nummer) { Franchises franchises = new Franchises { Where = "Nummer = " + nummer }; franchises.Read(); if (!franchises.EoF) { franchises.Delete(); } }