public static void Update() { if (ScriptsPath.NotIsNullOrEmpty()) { StreamWriter fileWrite = new StreamWriter(Path.Combine(ScriptsPath, "ScriptUpdate.sql"), false); GetSchemaUpdate().Execute((str) => { fileWrite.Write(str); }, true); fileWrite.Close(); } else { GetSchemaUpdate().Execute(false, true); } }
public static void Create() { Create(ScriptsPath.NotIsNullOrEmpty()); }