diff --git a/SQL.sql b/SQL.sql new file mode 100644 index 0000000..f5afb10 --- /dev/null +++ b/SQL.sql @@ -0,0 +1,11 @@ +CREATE DATABASE IF NOT EXISTS FahrzeugDB; +GRANT ALL PRIVILEGES ON FahrzeugDB.* TO 'admin'@'%'; +FLUSH PRIVILEGES; +USE FahrzeugDB; +DROP TABLE IF EXISTS fahrzeuge; +CREATE TABLE fahrzeuge ( +id INT NOT NULL AUTO_INCREMENT, +fahrzeug_name VARCHAR(100) NOT NULL, +fahrzeug_typ VARCHAR(100) NOT NULL, +PRIMARY KEY ( id ) +); \ No newline at end of file diff --git a/SQLMan/App.xaml b/SQLMan/App.xaml new file mode 100644 index 0000000..8d85095 --- /dev/null +++ b/SQLMan/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/SQLMan/App.xaml.cs b/SQLMan/App.xaml.cs new file mode 100644 index 0000000..41a352e --- /dev/null +++ b/SQLMan/App.xaml.cs @@ -0,0 +1,14 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace SQLMan +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } + +} diff --git a/SQLMan/AssemblyInfo.cs b/SQLMan/AssemblyInfo.cs new file mode 100644 index 0000000..b0ec827 --- /dev/null +++ b/SQLMan/AssemblyInfo.cs @@ -0,0 +1,10 @@ +using System.Windows; + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] diff --git a/SQLMan/MainWindow.xaml b/SQLMan/MainWindow.xaml new file mode 100644 index 0000000..9445cb8 --- /dev/null +++ b/SQLMan/MainWindow.xaml @@ -0,0 +1,35 @@ + + + + + + + + + +