예제 #1
0
        public void Init(IDataReader reader)
        {
            ImportedFrom   = reader.GetEnum <InputFileType>("ImportedFrom");
            Id             = reader.GetString("CustomerId");
            ShopId         = reader.GetInt32("ShopId");
            ShopName       = reader.GetString("ShopName");
            Prefecture     = reader.GetString("Prefecture");
            NameKanji      = reader.GetString("NameKanji");
            NameKana       = reader.GetString("NameKana");
            Sex            = reader.GetNullableEnum <Sex>("Sex");
            DateOfBirth    = reader.GetNullableDateTime("DateOfBirth");
            Email          = reader.GetString("Email");
            EmailMobile    = reader.GetString("EmailMobile");
            Phone          = reader.GetString("Phone");
            DateRegistered = reader.GetNullableDateTime("DateRegistered");
            DateUpdated    = reader.GetNullableDateTime("DateUpdated");
            Zip            = reader.GetString("Zip");
            CellPhone      = reader.GetString("CellPhone");
            Note           = reader.GetString("Note");
            Address        = reader.GetString("Address");
            PointBalance   = reader.GetNullableInt32("PointBalance");

            TempoVisorData.Init(reader);
            EccubeData.Init(reader);
        }
예제 #2
0
 public Customer()
 {
     TempoVisorData = new TempoVisorData();
     EccubeData     = new EccubeData();
 }