Models: Add Entities/ folder
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
using Elwig.Helpers;
|
using Elwig.Helpers;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
|
|
||||||
namespace Elwig.Documents {
|
namespace Elwig.Documents {
|
||||||
public abstract class BusinessDocument : Document {
|
public abstract class BusinessDocument : Document {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
|
|
||||||
namespace Elwig.Documents {
|
namespace Elwig.Documents {
|
||||||
public class BusinessLetter : BusinessDocument {
|
public class BusinessLetter : BusinessDocument {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
using Elwig.Helpers;
|
using Elwig.Helpers;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
using Elwig.Helpers;
|
using Elwig.Helpers;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
using Elwig.Helpers;
|
using Elwig.Helpers;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
using Elwig.Helpers;
|
using Elwig.Helpers;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Elwig.Documents {
|
namespace Elwig.Documents {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
|
|
||||||
namespace Elwig.Documents {
|
namespace Elwig.Documents {
|
||||||
public class Letterhead : BusinessDocument {
|
public class Letterhead : BusinessDocument {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using Microsoft.Data.Sqlite;
|
using Microsoft.Data.Sqlite;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
using Elwig.Helpers.Billing;
|
using Elwig.Helpers.Billing;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
|
|
||||||
namespace Elwig.Helpers {
|
namespace Elwig.Helpers {
|
||||||
public interface IAddress {
|
public interface IAddress {
|
||||||
|
@ -10,7 +10,7 @@ using System.Net.Sockets;
|
|||||||
using Elwig.Dialogs;
|
using Elwig.Dialogs;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
|
|
||||||
namespace Elwig.Helpers {
|
namespace Elwig.Helpers {
|
||||||
public static partial class Utils {
|
public static partial class Utils {
|
||||||
|
@ -2,7 +2,7 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
|
|
||||||
namespace Elwig.Helpers {
|
namespace Elwig.Helpers {
|
||||||
public static class Validator {
|
public static class Validator {
|
||||||
|
@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("AT_gem"), PrimaryKey("Gkz")]
|
[Table("AT_gem"), PrimaryKey("Gkz")]
|
||||||
public class AT_Gem {
|
public class AT_Gem {
|
||||||
[Column("gkz")]
|
[Column("gkz")]
|
@ -1,7 +1,7 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("AT_kg"), PrimaryKey("KgNr")]
|
[Table("AT_kg"), PrimaryKey("KgNr")]
|
||||||
public class AT_Kg {
|
public class AT_Kg {
|
||||||
[Column("kgnr")]
|
[Column("kgnr")]
|
@ -1,7 +1,7 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("AT_ort"), PrimaryKey("Okz")]
|
[Table("AT_ort"), PrimaryKey("Okz")]
|
||||||
public class AT_Ort {
|
public class AT_Ort {
|
||||||
[Column("okz")]
|
[Column("okz")]
|
@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("AT_plz"), PrimaryKey("Plz")]
|
[Table("AT_plz"), PrimaryKey("Plz")]
|
||||||
public class AT_Plz {
|
public class AT_Plz {
|
||||||
[Column("plz")]
|
[Column("plz")]
|
@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore;
|
|||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("AT_plz_dest"), PrimaryKey("Id"), Index("Plz", "Okz", IsUnique = true)]
|
[Table("AT_plz_dest"), PrimaryKey("Id"), Index("Plz", "Okz", IsUnique = true)]
|
||||||
public class AT_PlzDest {
|
public class AT_PlzDest {
|
||||||
[Column("plz")]
|
[Column("plz")]
|
@ -1,11 +1,10 @@
|
|||||||
using Elwig.Helpers;
|
using Elwig.Helpers;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("area_commitment"), PrimaryKey("FbNr")]
|
[Table("area_commitment"), PrimaryKey("FbNr")]
|
||||||
public class AreaCom {
|
public class AreaCom {
|
||||||
[Column("fbnr")]
|
[Column("fbnr")]
|
@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore;
|
|||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("area_commitment_type"), PrimaryKey("VtrgId"), Index("SortId", "AttrId", "Discriminator", IsUnique = true)]
|
[Table("area_commitment_type"), PrimaryKey("VtrgId"), Index("SortId", "AttrId", "Discriminator", IsUnique = true)]
|
||||||
public class AreaComType {
|
public class AreaComType {
|
||||||
[Column("vtrgid")]
|
[Column("vtrgid")]
|
@ -2,7 +2,7 @@ using Elwig.Helpers;
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("member_billing_address"), PrimaryKey("MgNr")]
|
[Table("member_billing_address"), PrimaryKey("MgNr")]
|
||||||
public class BillingAddr : IAddress {
|
public class BillingAddr : IAddress {
|
||||||
[Column("mgnr")]
|
[Column("mgnr")]
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("branch"), PrimaryKey("ZwstId"), Index("Name", IsUnique = true)]
|
[Table("branch"), PrimaryKey("ZwstId"), Index("Name", IsUnique = true)]
|
||||||
public class Branch {
|
public class Branch {
|
||||||
[Column("zwstid")]
|
[Column("zwstid")]
|
@ -1,7 +1,7 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("client_parameter"), PrimaryKey("Param")]
|
[Table("client_parameter"), PrimaryKey("Param")]
|
||||||
public class ClientParam {
|
public class ClientParam {
|
||||||
[Column("param")]
|
[Column("param")]
|
@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore;
|
|||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("country"), PrimaryKey("Num"), Index("Alpha2", IsUnique = true), Index("Alpha3", IsUnique = true)]
|
[Table("country"), PrimaryKey("Num"), Index("Alpha2", IsUnique = true), Index("Alpha3", IsUnique = true)]
|
||||||
public class Country {
|
public class Country {
|
||||||
[Column("num")]
|
[Column("num")]
|
@ -4,7 +4,7 @@ using System;
|
|||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("credit"), PrimaryKey("Year", "TgNr"), Index("Year", "AvNr", "MgNr", IsUnique = true)]
|
[Table("credit"), PrimaryKey("Year", "TgNr"), Index("Year", "AvNr", "MgNr", IsUnique = true)]
|
||||||
public class Credit {
|
public class Credit {
|
||||||
[Column("year")]
|
[Column("year")]
|
@ -2,7 +2,7 @@ using Elwig.Helpers;
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("currency"), PrimaryKey("Code")]
|
[Table("currency"), PrimaryKey("Code")]
|
||||||
public class Currency {
|
public class Currency {
|
||||||
[Column("code")]
|
[Column("code")]
|
@ -6,7 +6,7 @@ using System.ComponentModel.DataAnnotations.Schema;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("delivery"), PrimaryKey("Year", "DId"), Index("DateString", "ZwstId", "LNr", IsUnique = true), Index("LsNr", IsUnique = true)]
|
[Table("delivery"), PrimaryKey("Year", "DId"), Index("DateString", "ZwstId", "LNr", IsUnique = true), Index("LsNr", IsUnique = true)]
|
||||||
public class Delivery {
|
public class Delivery {
|
||||||
[Column("year")]
|
[Column("year")]
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
|||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("delivery_part"), PrimaryKey("Year", "DId", "DPNr")]
|
[Table("delivery_part"), PrimaryKey("Year", "DId", "DPNr")]
|
||||||
public class DeliveryPart {
|
public class DeliveryPart {
|
||||||
[Column("year")]
|
[Column("year")]
|
@ -1,7 +1,7 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("delivery_part_bucket"), PrimaryKey("Year", "DId", "DPNr", "BktNr")]
|
[Table("delivery_part_bucket"), PrimaryKey("Year", "DId", "DPNr", "BktNr")]
|
||||||
public class DeliveryPartBucket {
|
public class DeliveryPartBucket {
|
||||||
[Column("year")]
|
[Column("year")]
|
@ -1,7 +1,7 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("delivery_part_modifier"), PrimaryKey("Year", "DId", "DPNr", "ModId")]
|
[Table("delivery_part_modifier"), PrimaryKey("Year", "DId", "DPNr", "ModId")]
|
||||||
public class DeliveryPartModifier {
|
public class DeliveryPartModifier {
|
||||||
[Column("year")]
|
[Column("year")]
|
@ -5,7 +5,7 @@ using System.Collections.Generic;
|
|||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("member"), PrimaryKey("MgNr")]
|
[Table("member"), PrimaryKey("MgNr")]
|
||||||
public class Member : IAddress {
|
public class Member : IAddress {
|
||||||
[Column("mgnr")]
|
[Column("mgnr")]
|
@ -1,7 +1,7 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("member_email_address"), PrimaryKey("MgNr", "Nr")]
|
[Table("member_email_address"), PrimaryKey("MgNr", "Nr")]
|
||||||
public class MemberEmailAddr {
|
public class MemberEmailAddr {
|
||||||
[Column("mgnr")]
|
[Column("mgnr")]
|
@ -1,7 +1,7 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("member_telephone_number"), PrimaryKey("MgNr", "Nr")]
|
[Table("member_telephone_number"), PrimaryKey("MgNr", "Nr")]
|
||||||
public class MemberTelNr {
|
public class MemberTelNr {
|
||||||
[Column("mgnr")]
|
[Column("mgnr")]
|
@ -4,7 +4,7 @@ using System;
|
|||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("modifier"), PrimaryKey("Year", "ModId")]
|
[Table("modifier"), PrimaryKey("Year", "ModId")]
|
||||||
public class Modifier {
|
public class Modifier {
|
||||||
[Column("year")]
|
[Column("year")]
|
@ -1,7 +1,7 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("payment_delivery_part"), PrimaryKey("Year", "DId", "DPNr", "AvNr")]
|
[Table("payment_delivery_part"), PrimaryKey("Year", "DId", "DPNr", "AvNr")]
|
||||||
public class PaymentDeliveryPart {
|
public class PaymentDeliveryPart {
|
||||||
[Column("year")]
|
[Column("year")]
|
@ -1,7 +1,7 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("payment_delivery_part_bucket"), PrimaryKey("Year", "DId", "DPNr", "BktNr", "AvNr")]
|
[Table("payment_delivery_part_bucket"), PrimaryKey("Year", "DId", "DPNr", "BktNr", "AvNr")]
|
||||||
public class PaymentDeliveryPartBucket {
|
public class PaymentDeliveryPartBucket {
|
||||||
[Column("year")]
|
[Column("year")]
|
@ -1,7 +1,7 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("payment_member"), PrimaryKey("Year", "AvNr", "MgNr")]
|
[Table("payment_member"), PrimaryKey("Year", "AvNr", "MgNr")]
|
||||||
public class PaymentMember {
|
public class PaymentMember {
|
||||||
[Column("year")]
|
[Column("year")]
|
@ -2,9 +2,8 @@ using Microsoft.EntityFrameworkCore;
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Linq;
|
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("payment_variant"), PrimaryKey("Year", "AvNr")]
|
[Table("payment_variant"), PrimaryKey("Year", "AvNr")]
|
||||||
public class PaymentVar {
|
public class PaymentVar {
|
||||||
[Column("year")]
|
[Column("year")]
|
@ -1,7 +1,7 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("postal_dest"), PrimaryKey("CountryNum", "Id")]
|
[Table("postal_dest"), PrimaryKey("CountryNum", "Id")]
|
||||||
public class PostalDest {
|
public class PostalDest {
|
||||||
[Column("country")]
|
[Column("country")]
|
@ -4,7 +4,7 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("season"), PrimaryKey("Year")]
|
[Table("season"), PrimaryKey("Year")]
|
||||||
public class Season {
|
public class Season {
|
||||||
[Column("year")]
|
[Column("year")]
|
@ -1,7 +1,7 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("wb_gem"), PrimaryKey("Gkz")]
|
[Table("wb_gem"), PrimaryKey("Gkz")]
|
||||||
public class WbGem {
|
public class WbGem {
|
||||||
[Column("gkz")]
|
[Column("gkz")]
|
@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("wb_gl"), PrimaryKey("GlNr")]
|
[Table("wb_gl"), PrimaryKey("GlNr")]
|
||||||
public class WbGl {
|
public class WbGl {
|
||||||
[Column("glnr")]
|
[Column("glnr")]
|
@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("wb_kg"), PrimaryKey("KgNr")]
|
[Table("wb_kg"), PrimaryKey("KgNr")]
|
||||||
public class WbKg {
|
public class WbKg {
|
||||||
[Column("kgnr")]
|
[Column("kgnr")]
|
@ -1,7 +1,7 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("wb_rd"), PrimaryKey("KgNr", "RdNr")]
|
[Table("wb_rd"), PrimaryKey("KgNr", "RdNr")]
|
||||||
public class WbRd {
|
public class WbRd {
|
||||||
[Column("kgnr")]
|
[Column("kgnr")]
|
@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore;
|
|||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("wine_attribute"), PrimaryKey("AttrId"), Index("Name", IsUnique = true)]
|
[Table("wine_attribute"), PrimaryKey("AttrId"), Index("Name", IsUnique = true)]
|
||||||
public class WineAttr {
|
public class WineAttr {
|
||||||
[Column("attrid")]
|
[Column("attrid")]
|
@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore;
|
|||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("wine_cultivation"), PrimaryKey("CultId"), Index("Name", IsUnique = true)]
|
[Table("wine_cultivation"), PrimaryKey("CultId"), Index("Name", IsUnique = true)]
|
||||||
public class WineCult {
|
public class WineCult {
|
||||||
[Column("cultid")]
|
[Column("cultid")]
|
@ -5,7 +5,7 @@ using System.ComponentModel.DataAnnotations.Schema;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
using IndexAttribute = Microsoft.EntityFrameworkCore.IndexAttribute;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("wine_origin"), PrimaryKey("HkId"), Index("Name", IsUnique = true)]
|
[Table("wine_origin"), PrimaryKey("HkId"), Index("Name", IsUnique = true)]
|
||||||
public class WineOrigin {
|
public class WineOrigin {
|
||||||
[Column("hkid")]
|
[Column("hkid")]
|
@ -2,10 +2,8 @@ using Elwig.Helpers;
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Configuration;
|
|
||||||
using System.Security.Cryptography.Pkcs;
|
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("wine_quality_level"), PrimaryKey("QualId")]
|
[Table("wine_quality_level"), PrimaryKey("QualId")]
|
||||||
public class WineQualLevel : IEquatable<WineQualLevel> {
|
public class WineQualLevel : IEquatable<WineQualLevel> {
|
||||||
[Column("qualid")]
|
[Column("qualid")]
|
@ -1,7 +1,7 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace Elwig.Models {
|
namespace Elwig.Models.Entities {
|
||||||
[Table("wine_variety"), PrimaryKey("SortId")]
|
[Table("wine_variety"), PrimaryKey("SortId")]
|
||||||
public class WineVar {
|
public class WineVar {
|
||||||
[Column("sortid")]
|
[Column("sortid")]
|
@ -1,6 +1,6 @@
|
|||||||
using Elwig.Controls;
|
using Elwig.Controls;
|
||||||
using Elwig.Helpers;
|
using Elwig.Helpers;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
@ -3,13 +3,12 @@ using System.Linq;
|
|||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using Elwig.Helpers;
|
using Elwig.Helpers;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Microsoft.EntityFrameworkCore.ChangeTracking;
|
using Microsoft.EntityFrameworkCore.ChangeTracking;
|
||||||
using Xceed.Wpf.Toolkit.Primitives;
|
using Xceed.Wpf.Toolkit.Primitives;
|
||||||
using System.Runtime.Intrinsics.Arm;
|
|
||||||
|
|
||||||
namespace Elwig.Windows {
|
namespace Elwig.Windows {
|
||||||
public partial class AreaComAdminWindow : AdministrationWindow {
|
public partial class AreaComAdminWindow : AdministrationWindow {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
using Elwig.Helpers;
|
using Elwig.Helpers;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
using Elwig.Helpers;
|
using Elwig.Helpers;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
using Elwig.Helpers;
|
using Elwig.Helpers;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
using Elwig.Helpers;
|
using Elwig.Helpers;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
using Elwig.Helpers;
|
using Elwig.Helpers;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
using Elwig.Helpers;
|
using Elwig.Helpers;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -9,7 +9,7 @@ using System.Windows.Controls;
|
|||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using Elwig.Helpers;
|
using Elwig.Helpers;
|
||||||
using Elwig.Helpers.Billing;
|
using Elwig.Helpers.Billing;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Microsoft.EntityFrameworkCore.ChangeTracking;
|
using Microsoft.EntityFrameworkCore.ChangeTracking;
|
||||||
using ScottPlot;
|
using ScottPlot;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
using Elwig.Documents;
|
using Elwig.Documents;
|
||||||
using Elwig.Helpers;
|
using Elwig.Helpers;
|
||||||
using Elwig.Helpers.Export;
|
using Elwig.Helpers.Export;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using LinqKit;
|
using LinqKit;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Microsoft.EntityFrameworkCore.ChangeTracking;
|
using Microsoft.EntityFrameworkCore.ChangeTracking;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
using Elwig.Documents;
|
using Elwig.Documents;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using Elwig.Windows;
|
using Elwig.Windows;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
|
@ -6,7 +6,7 @@ using System.Windows;
|
|||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using Elwig.Helpers;
|
using Elwig.Helpers;
|
||||||
using Elwig.Models;
|
using Elwig.Models.Entities;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.EntityFrameworkCore.ChangeTracking;
|
using Microsoft.EntityFrameworkCore.ChangeTracking;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
|
Reference in New Issue
Block a user