コード例 #1
0
ファイル: Person.cs プロジェクト: dstrucl/Tangenta40
        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);
        }
コード例 #2
0
ファイル: Person.cs プロジェクト: dstrucl/Tangenta40
 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);
 }