Beispiel #1
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);
        }
Beispiel #2
0
 public Person(ltext token_prefix,
                 bool _Gender,
                 string _FirstName,
                 string _LastName,
                 DateTime _DateOfBirth,
                 string _Tax_ID,
                 string _Registration_ID,
                 string _MobilePhoneNumber,
                 string _PhoneNumber,
                 string _Email,
                 string _CardNumber,
                 string _CardType,
                 byte[] _PersonImage,
                 string _StreetName,
                 string _HouseNumber,
                 string _ZIP,
                 string _City,
                 string _Country,
                 string _State
                 )
 {
     Gender = _Gender;
     FirstName = _FirstName;
     LastName = _LastName;
     DateOfBirth = _DateOfBirth;
     Tax_ID = _Tax_ID;
     Registration_ID = _Registration_ID;
     MobilePhoneNumber = _MobilePhoneNumber;
     PhoneNumber = _PhoneNumber;
     Email = _Email;
     CardNumber = _CardNumber;
     CardType = _CardType;
     PersonImage = _PersonImage;
     ltext token_prefix_Person = token_prefix.AddAtTheEnd(lngToken.st_Person);
     Address = new Address(token_prefix_Person, _StreetName,
                                    _HouseNumber,
                                    _ZIP,
                                    _City,
                                    _Country,
                                    _State);
     token = new PersonToken(token_prefix_Person,
                             Gender,
                             FirstName,
                             LastName,
                             DateOfBirth,
                             Tax_ID,
                             Registration_ID,
                             MobilePhoneNumber,
                             PhoneNumber,
                             Email,
                             CardNumber,
                             CardType);
 }
Beispiel #3
0
        public Person(ltext token_prefix)
        {
            Gender = false;
            FirstName = "";
            LastName = "";
            DateOfBirth = DateTime.MinValue;
            Tax_ID = "";
            Registration_ID = "";
            MobilePhoneNumber = "";
            PhoneNumber = "";
            Email = "";
            CardNumber = "";
            CardType = "";
            PersonImage = null;
            ltext token_prefix_Person = token_prefix.AddAtTheEnd(lngToken.st_Person);
            Address = new Address(token_prefix_Person);

            token = new PersonToken(token_prefix_Person);
        }
Beispiel #4
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);
 }