public Repository() { string Create = @"CREATE TABLE IF NOT EXIST "; string DicCol = @" ([Key] TEXT PRIMARY KEY NOT NULL, [Value] NONE);"; MSQL.Start(Address.MSQLPath); MSQL.Execute(Create + Address.PathTableName + DicCol, MiMFa_ExecuteType.ExecuteNonQuery); MSQL.Execute(Create + Address.UrlTableName + DicCol, MiMFa_ExecuteType.ExecuteNonQuery); }
public virtual object EXE(string query, MiMFa_ExecuteType executeType, params SqlParameter[] parameters) { Change = true; return(MSQL.Execute(query.Replace("[Table]", TableName), executeType, parameters)); }