Pokaż
Ignoruj:
Data:
2009-12-23 11:26:06 (16 years ago)
Autor:
marek
Opis:

re #215 - dodanie nowego projektu z lepsza nazwa i typem projektu

Lokalizacja:
trunk/eCard/eCardMVC/adMoto.Payments.Core
Pliki:
2 dodane
1 skopiowane

Legenda:

Bez zmian
Dodane
Usunięte
  • trunk/eCard/eCardMVC/adMoto.Payments.Core/Data/Platnosci.designer.cs

    r949 r970  
    33// <auto-generated> 
    44//     This code was generated by a tool. 
    5 //     Runtime Version:2.0.50727.3082 
     5//     Runtime Version:2.0.50727.3603 
    66// 
    77//     Changes to this file may cause incorrect behavior and will be lost if 
     
    1010//------------------------------------------------------------------------------ 
    1111 
    12 namespace Platnosci.Core.Linq 
     12namespace adMoto.Payments.Core.Data 
    1313{ 
    1414        using System.Data.Linq; 
     
    2222        using System.ComponentModel; 
    2323        using System; 
    24     using Platnosci.Core.Interface; 
     24         
    2525         
    2626        [System.Data.Linq.Mapping.DatabaseAttribute(Name="BAZA_REKLAM_TEST")] 
    2727        public partial class PlatnosciDataContext : System.Data.Linq.DataContext 
    2828        { 
    29         private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource(); 
     29                 
     30                private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource(); 
    3031                 
    3132    #region Extensibility Method Definitions 
     
    4344    partial void UpdateFAKTURY(FAKTURY instance); 
    4445    partial void DeleteFAKTURY(FAKTURY instance); 
    45     partial void InsertvPlatnosciEcard(vPlatnosciEcard instance); 
    46     partial void UpdatevPlatnosciEcard(vPlatnosciEcard instance); 
    47     partial void DeletevPlatnosciEcard(vPlatnosciEcard instance); 
     46    partial void InsertInvoice(Invoice instance); 
     47    partial void UpdateInvoice(Invoice instance); 
     48    partial void DeleteInvoice(Invoice instance); 
    4849    #endregion 
    49        public PlatnosciDataContext() :base(global::Platnosci.Core.Properties.Settings.Default.BAZA_REKLAM_TESTConnectionString, mappingSource) 
    50                 { 
    51            OnCreated(); 
    52                 } 
    53                  
    54                 public PlatnosciDataContext(string connection) : base(connection, mappingSource) 
    55                 { 
    56             OnCreated(); 
    57                 } 
    58                  
    59                 public PlatnosciDataContext(System.Data.IDbConnection connection) : base(connection, mappingSource) 
    60                 { 
    61             OnCreated(); 
    62                 } 
    63                  
    64                 public PlatnosciDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :base(connection, mappingSource) 
    65                 { 
    66             OnCreated(); 
    67                 } 
    68                  
    69                 public PlatnosciDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :base(connection, mappingSource) 
    70                 { 
    71             OnCreated(); 
    72                 } 
     50                 
     51                public PlatnosciDataContext() :  
     52                                base(global::adMoto.Payments.Core.Properties.Settings.Default.BAZA_REKLAM_TESTConnectionString, mappingSource) 
     53                { 
     54                        OnCreated(); 
     55                } 
     56                 
     57                public PlatnosciDataContext(string connection) :  
     58                                base(connection, mappingSource) 
     59                { 
     60                        OnCreated(); 
     61                } 
     62                 
     63                public PlatnosciDataContext(System.Data.IDbConnection connection) :  
     64                                base(connection, mappingSource) 
     65                { 
     66                        OnCreated(); 
     67                } 
     68                 
     69                public PlatnosciDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :  
     70                                base(connection, mappingSource) 
     71                { 
     72                        OnCreated(); 
     73                } 
     74                 
     75                public PlatnosciDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :  
     76                                base(connection, mappingSource) 
     77                { 
     78                        OnCreated(); 
     79                } 
     80                 
    7381                public System.Data.Linq.Table<PlatnosciEcard> PlatnosciEcards 
    7482                { 
     
    103111                } 
    104112                 
    105                 public System.Data.Linq.Table<vPlatnosciEcard> vPlatnosciEcards 
    106                 { 
    107                         get 
    108                         { 
    109                                 return this.GetTable<vPlatnosciEcard>(); 
     113                public System.Data.Linq.Table<Invoice> Invoices 
     114                { 
     115                        get 
     116                        { 
     117                                return this.GetTable<Invoice>(); 
    110118                        } 
    111119                } 
     
    235243                [Column(Storage="_IDFaktury", DbType="Int")] 
    236244                [DataMember(Order=2)] 
    237         public System.Nullable<int> IDFaktury    
     245                public System.Nullable<int> IDFaktury 
    238246                { 
    239247                        get 
     
    19641972                private EntitySet<FAKTURA_DETAIL> _FAKTURA_DETAILs; 
    19651973                 
    1966                 private EntitySet<vPlatnosciEcard> _vDanePlatnosciEcards; 
     1974                private EntitySet<Invoice> _vDanePlatnosciEcards; 
    19671975                 
    19681976                private bool serializing; 
     
    30543062                [Association(Name="FAKTURY_vPlatnosciEcard", Storage="_vDanePlatnosciEcards", ThisKey="ID_FAKTURY", OtherKey="ID_faktury")] 
    30553063                [DataMember(Order=48, EmitDefaultValue=false)] 
    3056                 public EntitySet<vPlatnosciEcard> vPlatnosciEcards 
     3064                public EntitySet<Invoice> Invoices 
    30573065                { 
    30583066                        get 
     
    31153123                } 
    31163124                 
    3117                 private void attach_vDanePlatnosciEcards(vPlatnosciEcard entity) 
     3125                private void attach_vDanePlatnosciEcards(Invoice entity) 
    31183126                { 
    31193127                        this.SendPropertyChanging(); 
     
    31213129                } 
    31223130                 
    3123                 private void detach_vDanePlatnosciEcards(vPlatnosciEcard entity) 
     3131                private void detach_vDanePlatnosciEcards(Invoice entity) 
    31243132                { 
    31253133                        this.SendPropertyChanging(); 
     
    31313139                        this._PlatnosciEcards = new EntitySet<PlatnosciEcard>(new Action<PlatnosciEcard>(this.attach_PlatnosciEcards), new Action<PlatnosciEcard>(this.detach_PlatnosciEcards)); 
    31323140                        this._FAKTURA_DETAILs = new EntitySet<FAKTURA_DETAIL>(new Action<FAKTURA_DETAIL>(this.attach_FAKTURA_DETAILs), new Action<FAKTURA_DETAIL>(this.detach_FAKTURA_DETAILs)); 
    3133                         this._vDanePlatnosciEcards = new EntitySet<vPlatnosciEcard>(new Action<vPlatnosciEcard>(this.attach_vDanePlatnosciEcards), new Action<vPlatnosciEcard>(this.detach_vDanePlatnosciEcards)); 
     3141                        this._vDanePlatnosciEcards = new EntitySet<Invoice>(new Action<Invoice>(this.attach_vDanePlatnosciEcards), new Action<Invoice>(this.detach_vDanePlatnosciEcards)); 
    31343142                        OnCreated(); 
    31353143                } 
     
    31593167        [Table(Name="dbo.vDanePlatnosciEcard")] 
    31603168        [DataContract()] 
    3161         public partial class vPlatnosciEcard : INotifyPropertyChanging, INotifyPropertyChanged 
     3169        public partial class Invoice : INotifyPropertyChanging, INotifyPropertyChanged 
    31623170        { 
    31633171                 
     
    32723280    #endregion 
    32733281                 
    3274                 public vPlatnosciEcard() 
     3282                public Invoice() 
    32753283                { 
    32763284                        this.Initialize(); 
     
    38233831                                        { 
    38243832                                                this._FAKTURY.Entity = null; 
    3825                                                 previousValue.vPlatnosciEcards.Remove(this); 
     3833                                                previousValue.Invoices.Remove(this); 
    38263834                                        } 
    38273835                                        this._FAKTURY.Entity = value; 
    38283836                                        if ((value != null)) 
    38293837                                        { 
    3830                                                 value.vPlatnosciEcards.Add(this); 
     3838                                                value.Invoices.Add(this); 
    38313839                                                this._ID_faktury = value.ID_FAKTURY; 
    38323840                                        }