示例#1
0
 public Organisation(ltext token_prefix)
 {
     Name = "";
     Tax_ID = "";
     Registration_ID = "";
     Atom_Office_Name = "";
     BankName = "";
     TRR = "";
     Email = "";
     HomePage = "";
     PhoneNumber ="";
     FaxNumber = "";
     Logo_Data = null;
     ltext token_prefix_Organisation = token_prefix.AddAtTheEnd(lngToken.st_Organisation);
     Address = new Address(token_prefix_Organisation);
     token = new OrganisationToken(token_prefix_Organisation);
 }
示例#2
0
        public Organisation(ltext token_prefix,
                            string _Name,
                            string _Tax_ID,
                            string _Registration_ID,
                            string _Atom_Office_Name,
                            string _BankName,
                            string _TRR,
                            string _Email,
                            string _HomePage,
                            string _PhoneNumber,
                            string _FaxNumber,
                            byte[] _Logo_Data,
                            string _StreetName,
                            string _HouseNumber,
                            string _ZIP,
                            string _City,
                            string _Country,
                            string _State
                            
                            )
        {
            Name = _Name;
            Tax_ID =                _Tax_ID;
            Registration_ID =       _Registration_ID;
            Atom_Office_Name =      _Atom_Office_Name;
            BankName =              _BankName;
            TRR =                   _TRR;
            Email =                 _Email;
            HomePage =              _HomePage;
            PhoneNumber =           _PhoneNumber;
            FaxNumber =             _FaxNumber;
            Logo_Data =             _Logo_Data;

            ltext token_prefix_Organisation = token_prefix.AddAtTheEnd(lngToken.st_Organisation);
            Address = new Address(token_prefix_Organisation,
                                    _StreetName,
                                    _HouseNumber,
                                    _ZIP,
                                    _City,
                                    _Country,
                                    _State);

            token = new OrganisationToken(token_prefix_Organisation,
                                            Name,
                                            Tax_ID,
                                            Registration_ID,
                                            Atom_Office_Name,
                                            BankName,
                                            TRR,
                                            Email,
                                            HomePage,
                                            PhoneNumber,
                                            FaxNumber,
                                            Logo_Data);
        }