diff --git a/API/API.Client.Test/API.Client.Test.csproj b/API/API.Client.Test/API.Client.Test.csproj
index 96bae9e..74cc98e 100644
--- a/API/API.Client.Test/API.Client.Test.csproj
+++ b/API/API.Client.Test/API.Client.Test.csproj
@@ -1,6 +1,6 @@
-
+
Debug
@@ -45,20 +45,20 @@
..\packages\Microsoft.Data.OData.5.8.4\lib\net40\Microsoft.Data.OData.dll
-
- ..\packages\Microsoft.OData.Core.7.5.3\lib\portable-net45+win8+wpa81\Microsoft.OData.Core.dll
+
+ ..\packages\Microsoft.OData.Core.7.5.4\lib\portable-net45+win8+wpa81\Microsoft.OData.Core.dll
-
- ..\packages\Microsoft.OData.Edm.7.5.3\lib\portable-net45+win8+wpa81\Microsoft.OData.Edm.dll
+
+ ..\packages\Microsoft.OData.Edm.7.5.4\lib\portable-net45+win8+wpa81\Microsoft.OData.Edm.dll
-
- ..\packages\Microsoft.Spatial.7.5.3\lib\portable-net45+win8+wpa81\Microsoft.Spatial.dll
+
+ ..\packages\Microsoft.Spatial.7.5.4\lib\portable-net45+win8+wpa81\Microsoft.Spatial.dll
- ..\packages\MSTest.TestFramework.1.3.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll
+ ..\packages\MSTest.TestFramework.1.4.0\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll
- ..\packages\MSTest.TestFramework.1.3.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll
+ ..\packages\MSTest.TestFramework.1.4.0\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll
..\packages\Simple.OData.Client.5.6.2\lib\net452\Simple.OData.Client.Core.dll
@@ -102,8 +102,8 @@
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
+
+
-
+
\ No newline at end of file
diff --git a/API/API.Client.Test/App.config b/API/API.Client.Test/App.config
index 51bf85b..ff78c45 100644
--- a/API/API.Client.Test/App.config
+++ b/API/API.Client.Test/App.config
@@ -1,8 +1,39 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/API/API.Client.Test/packages.config b/API/API.Client.Test/packages.config
index 8bb21e8..fc9c6eb 100644
--- a/API/API.Client.Test/packages.config
+++ b/API/API.Client.Test/packages.config
@@ -2,11 +2,11 @@
-
-
-
-
-
+
+
+
+
+
\ No newline at end of file
diff --git a/API/API.Client/API.Client.csproj b/API/API.Client/API.Client.csproj
index 9bdf586..86edb1e 100644
--- a/API/API.Client/API.Client.csproj
+++ b/API/API.Client/API.Client.csproj
@@ -37,14 +37,14 @@
..\packages\Microsoft.Data.OData.5.8.4\lib\net40\Microsoft.Data.OData.dll
-
- ..\packages\Microsoft.OData.Core.7.5.3\lib\portable-net45+win8+wpa81\Microsoft.OData.Core.dll
+
+ ..\packages\Microsoft.OData.Core.7.5.4\lib\portable-net45+win8+wpa81\Microsoft.OData.Core.dll
-
- ..\packages\Microsoft.OData.Edm.7.5.3\lib\portable-net45+win8+wpa81\Microsoft.OData.Edm.dll
+
+ ..\packages\Microsoft.OData.Edm.7.5.4\lib\portable-net45+win8+wpa81\Microsoft.OData.Edm.dll
-
- ..\packages\Microsoft.Spatial.7.5.3\lib\portable-net45+win8+wpa81\Microsoft.Spatial.dll
+
+ ..\packages\Microsoft.Spatial.7.5.4\lib\portable-net45+win8+wpa81\Microsoft.Spatial.dll
..\packages\Simple.OData.Client.5.6.2\lib\net452\Simple.OData.Client.Core.dll
@@ -80,6 +80,7 @@
+
diff --git a/API/API.Client/app.config b/API/API.Client/app.config
new file mode 100644
index 0000000..fb0dadb
--- /dev/null
+++ b/API/API.Client/app.config
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/API/API.Client/packages.config b/API/API.Client/packages.config
index 1d94e43..b61eefd 100644
--- a/API/API.Client/packages.config
+++ b/API/API.Client/packages.config
@@ -2,9 +2,9 @@
-
-
-
+
+
+
\ No newline at end of file
diff --git a/API/API.sln b/API/API.sln
index 3e0f28b..903b126 100644
--- a/API/API.sln
+++ b/API/API.sln
@@ -19,6 +19,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Shared", "Shared", "{E1B05E
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "API.Models", "Models\API.Models.csproj", "{8D72FF7D-C085-4C06-9D66-9537B7AC924D}"
EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tools", "Tools", "{0298B379-812E-45C9-BC84-744BC848D2E5}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Migration", "Migration\Migration.csproj", "{48EBC2B8-5256-44BC-8A39-3A3C8C388BC6}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -45,6 +49,10 @@ Global
{8D72FF7D-C085-4C06-9D66-9537B7AC924D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8D72FF7D-C085-4C06-9D66-9537B7AC924D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8D72FF7D-C085-4C06-9D66-9537B7AC924D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {48EBC2B8-5256-44BC-8A39-3A3C8C388BC6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {48EBC2B8-5256-44BC-8A39-3A3C8C388BC6}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {48EBC2B8-5256-44BC-8A39-3A3C8C388BC6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {48EBC2B8-5256-44BC-8A39-3A3C8C388BC6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -55,6 +63,7 @@ Global
{88DB6691-8EE1-428C-8DA4-50342AEB2C54} = {D89C3FFE-4990-4B35-977C-727F89D7D05E}
{52BDCA0E-DC33-4398-BB6F-485CB07DE980} = {D89C3FFE-4990-4B35-977C-727F89D7D05E}
{8D72FF7D-C085-4C06-9D66-9537B7AC924D} = {E1B05E83-7E28-47D6-9DB5-3C1B2293AA92}
+ {48EBC2B8-5256-44BC-8A39-3A3C8C388BC6} = {0298B379-812E-45C9-BC84-744BC848D2E5}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {27650156-7B3F-4C0C-83D3-D13119DE083F}
diff --git a/API/API/API.csproj b/API/API/API.csproj
index 8c21058..8850c31 100644
--- a/API/API/API.csproj
+++ b/API/API/API.csproj
@@ -133,6 +133,7 @@
+
@@ -178,6 +179,7 @@
+
@@ -192,9 +194,7 @@
201903172028249_Log.cs
-
-
-
+
10.0
$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
diff --git a/API/API/App_Start/EnvironmentConfig.cs b/API/API/App_Start/EnvironmentConfig.cs
new file mode 100644
index 0000000..fdf41e2
--- /dev/null
+++ b/API/API/App_Start/EnvironmentConfig.cs
@@ -0,0 +1,20 @@
+using Newtonsoft.Json;
+using System.IO;
+
+namespace API.App_Start {
+ public static class EnvironmentConfig {
+ public static Config Read() {
+ var path = System.Web.Hosting.HostingEnvironment.MapPath(@"~/App_Data");
+ var jsonFile = Path.Combine(path, "environment.json");
+ if (!File.Exists(jsonFile)) return null;
+
+ var file = File.ReadAllText(jsonFile);
+ return JsonConvert.DeserializeObject(file);
+ }
+ }
+
+ public class Config {
+ public string ConnectionString { get; set; }
+ public string CorsUrls { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/API/API/App_Start/WebApiConfig.cs b/API/API/App_Start/WebApiConfig.cs
index dad0cb3..3b6dd49 100644
--- a/API/API/App_Start/WebApiConfig.cs
+++ b/API/API/App_Start/WebApiConfig.cs
@@ -11,8 +11,9 @@ namespace API {
public static void Register(HttpConfiguration config) {
// CORS
- var cors = new EnableCorsAttribute("http://localhost:4200", "*", "*");
- cors.SupportsCredentials = true;
+ var cors = new EnableCorsAttribute(EnvironmentConfig.Read()?.CorsUrls ?? "http://localhost:4200", "*", "*") {
+ SupportsCredentials = true
+ };
config.EnableCors(cors);
// Web API configuration and services
diff --git a/API/API/Database/DataContext.cs b/API/API/Database/DataContext.cs
index 9dad195..a926490 100644
--- a/API/API/Database/DataContext.cs
+++ b/API/API/Database/DataContext.cs
@@ -1,11 +1,12 @@
-using API.Migrations;
+using API.App_Start;
+using API.Migrations;
using API.Models;
using System.Data.Entity;
namespace API.Database {
public class DataContext : DbContext {
- public DataContext() : base("DataContext") {
+ public DataContext() : base(EnvironmentConfig.Read()?.ConnectionString ?? "DataContext") {
System.Data.Entity.Database.SetInitializer(new MigrateDatabaseToLatestVersion());
}
diff --git a/API/Migration/App.config b/API/Migration/App.config
new file mode 100644
index 0000000..36ae0e8
--- /dev/null
+++ b/API/Migration/App.config
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/API/Migration/Migration.csproj b/API/Migration/Migration.csproj
new file mode 100644
index 0000000..b05b528
--- /dev/null
+++ b/API/Migration/Migration.csproj
@@ -0,0 +1,95 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {48EBC2B8-5256-44BC-8A39-3A3C8C388BC6}
+ Exe
+ Migration
+ Migration
+ v4.6.2
+ 512
+ true
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+ ..\packages\Microsoft.Data.Edm.5.8.4\lib\net40\Microsoft.Data.Edm.dll
+
+
+ ..\packages\Microsoft.Data.OData.5.8.4\lib\net40\Microsoft.Data.OData.dll
+
+
+ ..\packages\Microsoft.OData.Core.7.5.4\lib\portable-net45+win8+wpa81\Microsoft.OData.Core.dll
+
+
+ ..\packages\Microsoft.OData.Edm.7.5.4\lib\portable-net45+win8+wpa81\Microsoft.OData.Edm.dll
+
+
+ ..\packages\Microsoft.Spatial.7.5.4\lib\portable-net45+win8+wpa81\Microsoft.Spatial.dll
+
+
+ ..\packages\Simple.OData.Client.5.6.2\lib\net452\Simple.OData.Client.Core.dll
+
+
+ ..\packages\Simple.OData.Client.5.6.2\lib\net452\Simple.OData.Client.Dynamic.dll
+
+
+ ..\packages\Simple.OData.Client.5.6.2\lib\net452\Simple.OData.Client.V3.Adapter.dll
+
+
+ ..\packages\Simple.OData.Client.5.6.2\lib\net452\Simple.OData.Client.V4.Adapter.dll
+
+
+
+
+ ..\packages\System.Spatial.5.8.4\lib\net40\System.Spatial.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {88db6691-8ee1-428c-8da4-50342aeb2c54}
+ API.Client
+
+
+ {8d72ff7d-c085-4c06-9d66-9537b7ac924d}
+ API.Models
+
+
+
+
\ No newline at end of file
diff --git a/API/Migration/Program.cs b/API/Migration/Program.cs
new file mode 100644
index 0000000..48412b7
--- /dev/null
+++ b/API/Migration/Program.cs
@@ -0,0 +1,67 @@
+using API.Client;
+using API.Models;
+using Data;
+using System;
+using System.IO;
+using System.Threading.Tasks;
+
+namespace Migration {
+ internal class Program {
+ private static void Main(string[] args) {
+ var path = @"d:\Documents\Worship Generator\";
+
+ for (var i = 0; i < 500; i++) {
+ var xmlFile = Path.Combine(path, i.ToString() + ".xml");
+ if (!System.IO.File.Exists(xmlFile)) continue;
+
+ var ds = new SongDataset();
+ ds.ReadXml(xmlFile);
+
+ var source = ds.SONGLIST[0];
+
+ var song = new Song {
+ Name = source.NAME.TrimEnd('\r', '\n'),
+ Number = source.NUMBER,
+ SongType = MapSongType(source),
+ Tempo = source.IsSPEEDNull() ? (int?)null : source.SPEED,
+ Key = MapKey(source),
+ Text = source.IsPREVIEWNull() ? null : source.PREVIEW,
+ Comments = source.IsCOMMENTNull() ? null : source.COMMENT,
+ Final = source.IsFINALNull() ? false : source.FINAL
+ };
+ Console.WriteLine(song.Name);
+
+ var client = new Client();
+ Task.WaitAll(new[] { client.Post(song) });
+ }
+
+ Console.ReadKey();
+
+ }
+ private static SongType MapSongType(SongDataset.SONGLISTRow source) {
+ if (source.IsKINDNull()) return SongType.None;
+ switch (source.KIND) {
+ case "Lobpreis": return SongType.Praise;
+ case "Anbetung": return SongType.Worship;
+ default: return SongType.None;
+ }
+ }
+
+ private static string MapKey(SongDataset.SONGLISTRow source) {
+ if (source.IsHARMONICNull()) return null;
+
+ switch (source.HARMONIC) {
+ case "D": return KeysSMaj.D;
+ case "a": return KeysSMin.A;
+ case "d": return KeysSMin.D;
+ case "G": return KeysSMaj.G;
+ case "E": return KeysSMaj.E;
+ case "C": return KeysSMaj.C;
+ case "A": return KeysSMaj.A;
+ case "e": return KeysSMin.E;
+ case "fis": return KeysSMin.FS;
+ default: return null;
+ }
+ }
+ }
+}
diff --git a/API/Migration/Properties/AssemblyInfo.cs b/API/Migration/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..4823105
--- /dev/null
+++ b/API/Migration/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Migration")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Migration")]
+[assembly: AssemblyCopyright("Copyright © 2019")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("48ebc2b8-5256-44bc-8a39-3a3c8c388bc6")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/API/Migration/SongDataset.cs b/API/Migration/SongDataset.cs
new file mode 100644
index 0000000..0554338
--- /dev/null
+++ b/API/Migration/SongDataset.cs
@@ -0,0 +1,1483 @@
+//------------------------------------------------------------------------------
+//
+// Dieser Code wurde von einem Tool generiert.
+// Laufzeitversion:4.0.30319.42000
+//
+// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
+// der Code erneut generiert wird.
+//
+//------------------------------------------------------------------------------
+
+#pragma warning disable 1591
+
+namespace Data {
+
+
+ ///
+ ///Represents a strongly typed in-memory cache of data.
+ ///
+ [global::System.Serializable()]
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
+ [global::System.Xml.Serialization.XmlRootAttribute("SongDataset")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
+ public partial class SongDataset : global::System.Data.DataSet {
+
+ private SONGLISTDataTable tableSONGLIST;
+
+ private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public SongDataset() {
+ this.BeginInit();
+ this.InitClass();
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ base.Relations.CollectionChanged += schemaChangedHandler;
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected SongDataset(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context, false) {
+ if ((this.IsBinarySerialized(info, context) == true)) {
+ this.InitVars(false);
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ this.Tables.CollectionChanged += schemaChangedHandler1;
+ this.Relations.CollectionChanged += schemaChangedHandler1;
+ return;
+ }
+ string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
+ if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
+ global::System.Data.DataSet ds = new global::System.Data.DataSet();
+ ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
+ if ((ds.Tables["SONGLIST"] != null)) {
+ base.Tables.Add(new SONGLISTDataTable(ds.Tables["SONGLIST"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ } else {
+ this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
+ }
+ this.GetSerializationData(info, context);
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ this.Relations.CollectionChanged += schemaChangedHandler;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public SONGLISTDataTable SONGLIST {
+ get {
+ return this.tableSONGLIST;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.BrowsableAttribute(true)]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
+ public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
+ get {
+ return this._schemaSerializationMode;
+ }
+ set {
+ this._schemaSerializationMode = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataTableCollection Tables {
+ get {
+ return base.Tables;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataRelationCollection Relations {
+ get {
+ return base.Relations;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void InitializeDerivedDataSet() {
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataSet Clone() {
+ SongDataset cln = ((SongDataset)(base.Clone()));
+ cln.InitVars();
+ cln.SchemaSerializationMode = this.SchemaSerializationMode;
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override bool ShouldSerializeTables() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override bool ShouldSerializeRelations() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
+ if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
+ this.Reset();
+ global::System.Data.DataSet ds = new global::System.Data.DataSet();
+ ds.ReadXml(reader);
+ if ((ds.Tables["SONGLIST"] != null)) {
+ base.Tables.Add(new SONGLISTDataTable(ds.Tables["SONGLIST"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ } else {
+ this.ReadXml(reader);
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
+ global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
+ this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
+ stream.Position = 0;
+ return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.InitVars(true);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars(bool initTable) {
+ this.tableSONGLIST = ((SONGLISTDataTable)(base.Tables["SONGLIST"]));
+ if ((initTable == true)) {
+ if ((this.tableSONGLIST != null)) {
+ this.tableSONGLIST.InitVars();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.DataSetName = "SongDataset";
+ this.Prefix = "";
+ this.Namespace = "http://tempuri.org/SongDataset.xsd";
+ this.EnforceConstraints = true;
+ this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+ this.tableSONGLIST = new SONGLISTDataTable();
+ base.Tables.Add(this.tableSONGLIST);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeSONGLIST() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
+ if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ SongDataset ds = new SongDataset();
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
+ any.Namespace = ds.Namespace;
+ sequence.Items.Add(any);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte()));) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ } finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void SONGLISTRowChangeEventHandler(object sender, SONGLISTRowChangeEvent e);
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class SONGLISTDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
+
+ private global::System.Data.DataColumn columnSONG_PK;
+
+ private global::System.Data.DataColumn columnNUMBER;
+
+ private global::System.Data.DataColumn columnLAST_MODIFIED_DATE;
+
+ private global::System.Data.DataColumn columnCREATION_DATE;
+
+ private global::System.Data.DataColumn columnNAME;
+
+ private global::System.Data.DataColumn columnKIND;
+
+ private global::System.Data.DataColumn columnHARMONIC;
+
+ private global::System.Data.DataColumn columnPREVIEW;
+
+ private global::System.Data.DataColumn columnNH_FILE;
+
+ private global::System.Data.DataColumn columnNH_VERSION;
+
+ private global::System.Data.DataColumn columnWH_FILE;
+
+ private global::System.Data.DataColumn columnWH_VERSION;
+
+ private global::System.Data.DataColumn columnWH_FLAG;
+
+ private global::System.Data.DataColumn columnPDF_FILE;
+
+ private global::System.Data.DataColumn columnPDF_VERSION;
+
+ private global::System.Data.DataColumn columnPDF_FLAG;
+
+ private global::System.Data.DataColumn columnMIDI_FILE;
+
+ private global::System.Data.DataColumn columnMIDI_VERSION;
+
+ private global::System.Data.DataColumn columnMIDI_FLAG;
+
+ private global::System.Data.DataColumn columnCOMMENT;
+
+ private global::System.Data.DataColumn columnSPEED;
+
+ private global::System.Data.DataColumn columnFINAL;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public SONGLISTDataTable() {
+ this.TableName = "SONGLIST";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal SONGLISTDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected SONGLISTDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn SONG_PKColumn {
+ get {
+ return this.columnSONG_PK;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NUMBERColumn {
+ get {
+ return this.columnNUMBER;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn LAST_MODIFIED_DATEColumn {
+ get {
+ return this.columnLAST_MODIFIED_DATE;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CREATION_DATEColumn {
+ get {
+ return this.columnCREATION_DATE;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NAMEColumn {
+ get {
+ return this.columnNAME;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn KINDColumn {
+ get {
+ return this.columnKIND;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn HARMONICColumn {
+ get {
+ return this.columnHARMONIC;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn PREVIEWColumn {
+ get {
+ return this.columnPREVIEW;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NH_FILEColumn {
+ get {
+ return this.columnNH_FILE;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NH_VERSIONColumn {
+ get {
+ return this.columnNH_VERSION;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn WH_FILEColumn {
+ get {
+ return this.columnWH_FILE;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn WH_VERSIONColumn {
+ get {
+ return this.columnWH_VERSION;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn WH_FLAGColumn {
+ get {
+ return this.columnWH_FLAG;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn PDF_FILEColumn {
+ get {
+ return this.columnPDF_FILE;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn PDF_VERSIONColumn {
+ get {
+ return this.columnPDF_VERSION;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn PDF_FLAGColumn {
+ get {
+ return this.columnPDF_FLAG;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn MIDI_FILEColumn {
+ get {
+ return this.columnMIDI_FILE;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn MIDI_VERSIONColumn {
+ get {
+ return this.columnMIDI_VERSION;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn MIDI_FLAGColumn {
+ get {
+ return this.columnMIDI_FLAG;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn COMMENTColumn {
+ get {
+ return this.columnCOMMENT;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn SPEEDColumn {
+ get {
+ return this.columnSPEED;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn FINALColumn {
+ get {
+ return this.columnFINAL;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public SONGLISTRow this[int index] {
+ get {
+ return ((SONGLISTRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event SONGLISTRowChangeEventHandler SONGLISTRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event SONGLISTRowChangeEventHandler SONGLISTRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event SONGLISTRowChangeEventHandler SONGLISTRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event SONGLISTRowChangeEventHandler SONGLISTRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddSONGLISTRow(SONGLISTRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public SONGLISTRow AddSONGLISTRow(
+ string SONG_PK,
+ int NUMBER,
+ System.DateTime LAST_MODIFIED_DATE,
+ System.DateTime CREATION_DATE,
+ string NAME,
+ string KIND,
+ string HARMONIC,
+ string PREVIEW,
+ string NH_FILE,
+ int NH_VERSION,
+ string WH_FILE,
+ int WH_VERSION,
+ bool WH_FLAG,
+ string PDF_FILE,
+ int PDF_VERSION,
+ bool PDF_FLAG,
+ string MIDI_FILE,
+ int MIDI_VERSION,
+ bool MIDI_FLAG,
+ string COMMENT,
+ ushort SPEED,
+ bool FINAL) {
+ SONGLISTRow rowSONGLISTRow = ((SONGLISTRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ SONG_PK,
+ NUMBER,
+ LAST_MODIFIED_DATE,
+ CREATION_DATE,
+ NAME,
+ KIND,
+ HARMONIC,
+ PREVIEW,
+ NH_FILE,
+ NH_VERSION,
+ WH_FILE,
+ WH_VERSION,
+ WH_FLAG,
+ PDF_FILE,
+ PDF_VERSION,
+ PDF_FLAG,
+ MIDI_FILE,
+ MIDI_VERSION,
+ MIDI_FLAG,
+ COMMENT,
+ SPEED,
+ FINAL};
+ rowSONGLISTRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowSONGLISTRow);
+ return rowSONGLISTRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public SONGLISTRow FindBySONG_PK(string SONG_PK) {
+ return ((SONGLISTRow)(this.Rows.Find(new object[] {
+ SONG_PK})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public virtual global::System.Collections.IEnumerator GetEnumerator() {
+ return this.Rows.GetEnumerator();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ SONGLISTDataTable cln = ((SONGLISTDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new SONGLISTDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnSONG_PK = base.Columns["SONG_PK"];
+ this.columnNUMBER = base.Columns["NUMBER"];
+ this.columnLAST_MODIFIED_DATE = base.Columns["LAST_MODIFIED_DATE"];
+ this.columnCREATION_DATE = base.Columns["CREATION_DATE"];
+ this.columnNAME = base.Columns["NAME"];
+ this.columnKIND = base.Columns["KIND"];
+ this.columnHARMONIC = base.Columns["HARMONIC"];
+ this.columnPREVIEW = base.Columns["PREVIEW"];
+ this.columnNH_FILE = base.Columns["NH_FILE"];
+ this.columnNH_VERSION = base.Columns["NH_VERSION"];
+ this.columnWH_FILE = base.Columns["WH_FILE"];
+ this.columnWH_VERSION = base.Columns["WH_VERSION"];
+ this.columnWH_FLAG = base.Columns["WH_FLAG"];
+ this.columnPDF_FILE = base.Columns["PDF_FILE"];
+ this.columnPDF_VERSION = base.Columns["PDF_VERSION"];
+ this.columnPDF_FLAG = base.Columns["PDF_FLAG"];
+ this.columnMIDI_FILE = base.Columns["MIDI_FILE"];
+ this.columnMIDI_VERSION = base.Columns["MIDI_VERSION"];
+ this.columnMIDI_FLAG = base.Columns["MIDI_FLAG"];
+ this.columnCOMMENT = base.Columns["COMMENT"];
+ this.columnSPEED = base.Columns["SPEED"];
+ this.columnFINAL = base.Columns["FINAL"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnSONG_PK = new global::System.Data.DataColumn("SONG_PK", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnSONG_PK);
+ this.columnNUMBER = new global::System.Data.DataColumn("NUMBER", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNUMBER);
+ this.columnLAST_MODIFIED_DATE = new global::System.Data.DataColumn("LAST_MODIFIED_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnLAST_MODIFIED_DATE);
+ this.columnCREATION_DATE = new global::System.Data.DataColumn("CREATION_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCREATION_DATE);
+ this.columnNAME = new global::System.Data.DataColumn("NAME", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNAME);
+ this.columnKIND = new global::System.Data.DataColumn("KIND", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnKIND);
+ this.columnHARMONIC = new global::System.Data.DataColumn("HARMONIC", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnHARMONIC);
+ this.columnPREVIEW = new global::System.Data.DataColumn("PREVIEW", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPREVIEW);
+ this.columnNH_FILE = new global::System.Data.DataColumn("NH_FILE", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNH_FILE);
+ this.columnNH_VERSION = new global::System.Data.DataColumn("NH_VERSION", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNH_VERSION);
+ this.columnWH_FILE = new global::System.Data.DataColumn("WH_FILE", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnWH_FILE);
+ this.columnWH_VERSION = new global::System.Data.DataColumn("WH_VERSION", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnWH_VERSION);
+ this.columnWH_FLAG = new global::System.Data.DataColumn("WH_FLAG", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnWH_FLAG);
+ this.columnPDF_FILE = new global::System.Data.DataColumn("PDF_FILE", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPDF_FILE);
+ this.columnPDF_VERSION = new global::System.Data.DataColumn("PDF_VERSION", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPDF_VERSION);
+ this.columnPDF_FLAG = new global::System.Data.DataColumn("PDF_FLAG", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPDF_FLAG);
+ this.columnMIDI_FILE = new global::System.Data.DataColumn("MIDI_FILE", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnMIDI_FILE);
+ this.columnMIDI_VERSION = new global::System.Data.DataColumn("MIDI_VERSION", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnMIDI_VERSION);
+ this.columnMIDI_FLAG = new global::System.Data.DataColumn("MIDI_FLAG", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnMIDI_FLAG);
+ this.columnCOMMENT = new global::System.Data.DataColumn("COMMENT", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCOMMENT);
+ this.columnSPEED = new global::System.Data.DataColumn("SPEED", typeof(ushort), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnSPEED);
+ this.columnFINAL = new global::System.Data.DataColumn("FINAL", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFINAL);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnSONG_PK}, true));
+ this.columnSONG_PK.AllowDBNull = false;
+ this.columnSONG_PK.Unique = true;
+ this.columnWH_FLAG.DefaultValue = ((bool)(false));
+ this.columnPDF_FLAG.DefaultValue = ((bool)(false));
+ this.columnMIDI_FLAG.DefaultValue = ((bool)(false));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public SONGLISTRow NewSONGLISTRow() {
+ return ((SONGLISTRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new SONGLISTRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(SONGLISTRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.SONGLISTRowChanged != null)) {
+ this.SONGLISTRowChanged(this, new SONGLISTRowChangeEvent(((SONGLISTRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.SONGLISTRowChanging != null)) {
+ this.SONGLISTRowChanging(this, new SONGLISTRowChangeEvent(((SONGLISTRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.SONGLISTRowDeleted != null)) {
+ this.SONGLISTRowDeleted(this, new SONGLISTRowChangeEvent(((SONGLISTRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.SONGLISTRowDeleting != null)) {
+ this.SONGLISTRowDeleting(this, new SONGLISTRowChangeEvent(((SONGLISTRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveSONGLISTRow(SONGLISTRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ SongDataset ds = new SongDataset();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "SONGLISTDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte()));) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ } finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class SONGLISTRow : global::System.Data.DataRow {
+
+ private SONGLISTDataTable tableSONGLIST;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal SONGLISTRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableSONGLIST = ((SONGLISTDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string SONG_PK {
+ get {
+ return ((string)(this[this.tableSONGLIST.SONG_PKColumn]));
+ }
+ set {
+ this[this.tableSONGLIST.SONG_PKColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int NUMBER {
+ get {
+ try {
+ return ((int)(this[this.tableSONGLIST.NUMBERColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte NUMBER in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.NUMBERColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime LAST_MODIFIED_DATE {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tableSONGLIST.LAST_MODIFIED_DATEColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte LAST_MODIFIED_DATE in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.LAST_MODIFIED_DATEColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime CREATION_DATE {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tableSONGLIST.CREATION_DATEColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte CREATION_DATE in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.CREATION_DATEColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string NAME {
+ get {
+ try {
+ return ((string)(this[this.tableSONGLIST.NAMEColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte NAME in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.NAMEColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string KIND {
+ get {
+ try {
+ return ((string)(this[this.tableSONGLIST.KINDColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte KIND in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.KINDColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string HARMONIC {
+ get {
+ try {
+ return ((string)(this[this.tableSONGLIST.HARMONICColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte HARMONIC in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.HARMONICColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string PREVIEW {
+ get {
+ try {
+ return ((string)(this[this.tableSONGLIST.PREVIEWColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte PREVIEW in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.PREVIEWColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string NH_FILE {
+ get {
+ try {
+ return ((string)(this[this.tableSONGLIST.NH_FILEColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte NH_FILE in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.NH_FILEColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int NH_VERSION {
+ get {
+ try {
+ return ((int)(this[this.tableSONGLIST.NH_VERSIONColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte NH_VERSION in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.NH_VERSIONColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string WH_FILE {
+ get {
+ try {
+ return ((string)(this[this.tableSONGLIST.WH_FILEColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte WH_FILE in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.WH_FILEColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int WH_VERSION {
+ get {
+ try {
+ return ((int)(this[this.tableSONGLIST.WH_VERSIONColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte WH_VERSION in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.WH_VERSIONColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool WH_FLAG {
+ get {
+ try {
+ return ((bool)(this[this.tableSONGLIST.WH_FLAGColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte WH_FLAG in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.WH_FLAGColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string PDF_FILE {
+ get {
+ try {
+ return ((string)(this[this.tableSONGLIST.PDF_FILEColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte PDF_FILE in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.PDF_FILEColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int PDF_VERSION {
+ get {
+ try {
+ return ((int)(this[this.tableSONGLIST.PDF_VERSIONColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte PDF_VERSION in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.PDF_VERSIONColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool PDF_FLAG {
+ get {
+ try {
+ return ((bool)(this[this.tableSONGLIST.PDF_FLAGColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte PDF_FLAG in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.PDF_FLAGColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string MIDI_FILE {
+ get {
+ try {
+ return ((string)(this[this.tableSONGLIST.MIDI_FILEColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte MIDI_FILE in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.MIDI_FILEColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int MIDI_VERSION {
+ get {
+ try {
+ return ((int)(this[this.tableSONGLIST.MIDI_VERSIONColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte MIDI_VERSION in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.MIDI_VERSIONColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool MIDI_FLAG {
+ get {
+ try {
+ return ((bool)(this[this.tableSONGLIST.MIDI_FLAGColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte MIDI_FLAG in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.MIDI_FLAGColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string COMMENT {
+ get {
+ try {
+ return ((string)(this[this.tableSONGLIST.COMMENTColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte COMMENT in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.COMMENTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ushort SPEED {
+ get {
+ try {
+ return ((ushort)(this[this.tableSONGLIST.SPEEDColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte SPEED in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.SPEEDColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool FINAL {
+ get {
+ try {
+ return ((bool)(this[this.tableSONGLIST.FINALColumn]));
+ } catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Der Wert für Spalte FINAL in Tabelle SONGLIST ist DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableSONGLIST.FINALColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsNUMBERNull() {
+ return this.IsNull(this.tableSONGLIST.NUMBERColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetNUMBERNull() {
+ this[this.tableSONGLIST.NUMBERColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsLAST_MODIFIED_DATENull() {
+ return this.IsNull(this.tableSONGLIST.LAST_MODIFIED_DATEColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetLAST_MODIFIED_DATENull() {
+ this[this.tableSONGLIST.LAST_MODIFIED_DATEColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCREATION_DATENull() {
+ return this.IsNull(this.tableSONGLIST.CREATION_DATEColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCREATION_DATENull() {
+ this[this.tableSONGLIST.CREATION_DATEColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsNAMENull() {
+ return this.IsNull(this.tableSONGLIST.NAMEColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetNAMENull() {
+ this[this.tableSONGLIST.NAMEColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsKINDNull() {
+ return this.IsNull(this.tableSONGLIST.KINDColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetKINDNull() {
+ this[this.tableSONGLIST.KINDColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsHARMONICNull() {
+ return this.IsNull(this.tableSONGLIST.HARMONICColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetHARMONICNull() {
+ this[this.tableSONGLIST.HARMONICColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsPREVIEWNull() {
+ return this.IsNull(this.tableSONGLIST.PREVIEWColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetPREVIEWNull() {
+ this[this.tableSONGLIST.PREVIEWColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsNH_FILENull() {
+ return this.IsNull(this.tableSONGLIST.NH_FILEColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetNH_FILENull() {
+ this[this.tableSONGLIST.NH_FILEColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsNH_VERSIONNull() {
+ return this.IsNull(this.tableSONGLIST.NH_VERSIONColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetNH_VERSIONNull() {
+ this[this.tableSONGLIST.NH_VERSIONColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsWH_FILENull() {
+ return this.IsNull(this.tableSONGLIST.WH_FILEColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetWH_FILENull() {
+ this[this.tableSONGLIST.WH_FILEColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsWH_VERSIONNull() {
+ return this.IsNull(this.tableSONGLIST.WH_VERSIONColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetWH_VERSIONNull() {
+ this[this.tableSONGLIST.WH_VERSIONColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsWH_FLAGNull() {
+ return this.IsNull(this.tableSONGLIST.WH_FLAGColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetWH_FLAGNull() {
+ this[this.tableSONGLIST.WH_FLAGColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsPDF_FILENull() {
+ return this.IsNull(this.tableSONGLIST.PDF_FILEColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetPDF_FILENull() {
+ this[this.tableSONGLIST.PDF_FILEColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsPDF_VERSIONNull() {
+ return this.IsNull(this.tableSONGLIST.PDF_VERSIONColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetPDF_VERSIONNull() {
+ this[this.tableSONGLIST.PDF_VERSIONColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsPDF_FLAGNull() {
+ return this.IsNull(this.tableSONGLIST.PDF_FLAGColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetPDF_FLAGNull() {
+ this[this.tableSONGLIST.PDF_FLAGColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsMIDI_FILENull() {
+ return this.IsNull(this.tableSONGLIST.MIDI_FILEColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetMIDI_FILENull() {
+ this[this.tableSONGLIST.MIDI_FILEColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsMIDI_VERSIONNull() {
+ return this.IsNull(this.tableSONGLIST.MIDI_VERSIONColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetMIDI_VERSIONNull() {
+ this[this.tableSONGLIST.MIDI_VERSIONColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsMIDI_FLAGNull() {
+ return this.IsNull(this.tableSONGLIST.MIDI_FLAGColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetMIDI_FLAGNull() {
+ this[this.tableSONGLIST.MIDI_FLAGColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCOMMENTNull() {
+ return this.IsNull(this.tableSONGLIST.COMMENTColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCOMMENTNull() {
+ this[this.tableSONGLIST.COMMENTColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsSPEEDNull() {
+ return this.IsNull(this.tableSONGLIST.SPEEDColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetSPEEDNull() {
+ this[this.tableSONGLIST.SPEEDColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsFINALNull() {
+ return this.IsNull(this.tableSONGLIST.FINALColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetFINALNull() {
+ this[this.tableSONGLIST.FINALColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class SONGLISTRowChangeEvent : global::System.EventArgs {
+
+ private SONGLISTRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public SONGLISTRowChangeEvent(SONGLISTRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public SONGLISTRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+ }
+}
+
+#pragma warning restore 1591
\ No newline at end of file
diff --git a/API/Migration/packages.config b/API/Migration/packages.config
new file mode 100644
index 0000000..b61eefd
--- /dev/null
+++ b/API/Migration/packages.config
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/API/Models/Song.cs b/API/Models/Song.cs
index c0b84d8..0ed213a 100644
--- a/API/Models/Song.cs
+++ b/API/Models/Song.cs
@@ -19,4 +19,66 @@ namespace API.Models {
public virtual ICollection Files { get; set; }
}
+
+ public class KeysSMaj {
+ public const string C = "C";
+ public const string CS = "C#";
+ public const string D = "D";
+ public const string DS = "D#";
+ public const string E = "E";
+ public const string F = "F";
+ public const string FS = "F#";
+ public const string G = "G";
+ public const string GS = "G#";
+ public const string A = "A";
+ public const string AS = "A#";
+ public const string H = "H";
+ }
+
+ public class KeysSMin {
+ public const string C = "c";
+ public const string CS = "c#";
+ public const string D = "d";
+ public const string DS = "d#";
+ public const string E = "e";
+ public const string F = "f";
+ public const string FS = "f#";
+ public const string G = "g";
+ public const string GS = "g#";
+ public const string A = "a";
+ public const string AS = "a#";
+ public const string H = "h";
+ }
+
+ public class KeysBMaj {
+ public const string C = "C";
+ public const string DB = "Db";
+ public const string D = "D";
+ public const string EB = "Eb";
+ public const string E = "E";
+ public const string F = "F";
+ public const string GB = "Gb";
+ public const string G = "G";
+ public const string AB = "Ab";
+ public const string A = "A";
+ public const string HB = "B";
+ public const string H = "H";
+ }
+
+ public class KeysBMin {
+ public const string C = "a";
+ public const string DB = "db";
+ public const string D = "d";
+ public const string EB = "eb";
+ public const string E = "e";
+ public const string F = "f";
+ public const string GB = "gb";
+ public const string G = "g";
+ public const string AB = "ab";
+ public const string A = "a";
+ public const string HB = "b";
+ public const string H = "h";
+ }
+
+
}
\ No newline at end of file
diff --git a/API/Models/SongType.cs b/API/Models/SongType.cs
index 046bf06..8924e26 100644
--- a/API/Models/SongType.cs
+++ b/API/Models/SongType.cs
@@ -1,7 +1,8 @@
namespace API.Models {
public enum SongType {
Praise,
- Worship
+ Worship,
+ None
}
}
\ No newline at end of file