The source I use (NCOS), is not sql. So basically I need help converting.
Here is what I need converted (I'm not asking to be spoon fed, just any help will be appreciated).
Code:
public static void DelPartner(uint UID, uint IDYou) { MySqlCommand Cmd = new MySqlCommand(MySqlCommandType.DELETE); Cmd.Delete("TradePartner", "CharID", IDYou).And("PartnerID", UID).Execute(); }
Code:
public static void SavePartner(uint uid, string name, long timestart, Character C) { MySqlCommand cmd = new MySqlCommand(MySqlCommandType.INSERT); cmd.Insert("TradePartner").Insert("CharID", C.EntityID).Insert("PartenerName", name).Insert("PartenerID", uid).Insert("TimeStart",timestart).Execute(); }