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); }
public Customer() { TempoVisorData = new TempoVisorData(); EccubeData = new EccubeData(); }