1313using System . Threading . Tasks ;
1414
1515
16+
1617namespace AWSSDK_DotNet . IntegrationTests . Tests . DynamoDB
1718{
1819 public partial class DynamoDBTests : TestBase < AmazonDynamoDBClient >
@@ -3729,9 +3730,11 @@ public class AutoGenTimestampEpochEntity
37293730
37303731 public string Name { get ; set ; }
37313732
3733+ #pragma warning disable CS0618
37323734 [ DynamoDBAutoGeneratedTimestamp ]
37333735 [ DynamoDBProperty ( StoreAsEpoch = true ) ]
37343736 public DateTime ? CreatedAt { get ; set ; }
3737+ #pragma warning restore CS0618
37353738 }
37363739
37373740 [ DynamoDBTable ( "HashTable" ) ]
@@ -4065,6 +4068,7 @@ public class VersionedAnnotatedEmployee : CounterAnnotatedEmployee
40654068 /// </summary>
40664069 public class EpochEmployee : Employee
40674070 {
4071+ #pragma warning disable CS0618
40684072 [ DynamoDBProperty ( StoreAsEpoch = true ) ]
40694073 public virtual DateTime CreationTime { get ; set ; }
40704074
@@ -4093,6 +4097,7 @@ public class EpochEmployee : Employee
40934097
40944098 [ DynamoDBProperty ( StoreAsEpochLong = true ) ]
40954099 public DateTime ? NullableLongEpochDate2 { get ; set ; }
4100+ #pragma warning restore CS0618
40964101 }
40974102
40984103 /// <summary>
@@ -4106,6 +4111,7 @@ public class AnnotatedEpochEmployee
41064111
41074112 public int Age { get ; set ; }
41084113
4114+ #pragma warning disable CS0618
41094115 // Hash key
41104116 [ DynamoDBHashKey ( StoreAsEpoch = true ) ] public virtual DateTime CreationTime { get ; set ; }
41114117
@@ -4116,6 +4122,7 @@ public class AnnotatedEpochEmployee
41164122 public DateTime NonEpochDate1 { get ; set ; }
41174123
41184124 public DateTime NonEpochDate2 { get ; set ; }
4125+ #pragma warning restore CS0618
41194126 }
41204127
41214128 /// <summary>
@@ -4142,8 +4149,10 @@ public class AnnotatedNumEpochEmployee : AnnotatedEpochEmployee
41424149 [ DynamoDBTable ( "BadEmployeeHashRangeTable" ) ]
41434150 public class BadNumericEpochEmployee : NumericEpochEmployee
41444151 {
4152+ #pragma warning disable CS0618
41454153 [ DynamoDBProperty ( StoreAsEpoch = true , StoreAsEpochLong = true ) ]
41464154 public DateTime BadLongEpochDate { get ; set ; }
4155+ #pragma warning restore CS0618
41474156 }
41484157
41494158 /// <summary>
@@ -4152,7 +4161,9 @@ public class BadNumericEpochEmployee : NumericEpochEmployee
41524161 [ DynamoDBTable ( "NumericHashRangeTable" ) ]
41534162 public class AnnotatedNumericEpochEmployee : EpochEmployee
41544163 {
4164+ #pragma warning disable CS0618
41554165 [ DynamoDBHashKey ( StoreAsEpoch = true ) ] public override DateTime CreationTime { get ; set ; }
4166+ #pragma warning restore CS0618
41564167
41574168 [ DynamoDBRangeKey ] public override string Name { get ; set ; }
41584169 }
@@ -4163,7 +4174,9 @@ public class AnnotatedNumericEpochEmployee : EpochEmployee
41634174 [ DynamoDBTable ( "NumericHashRangeTable" ) ]
41644175 public class PropertyConverterEmployee
41654176 {
4177+ #pragma warning disable CS0618
41664178 [ DynamoDBHashKey ( StoreAsEpoch = true ) ] public DateTime CreationTime { get ; set ; }
4179+ #pragma warning restore CS0618
41674180
41684181 [ DynamoDBRangeKey ]
41694182 [ DynamoDBProperty ( Converter = typeof ( EnumAsStringConverter < Status > ) ) ]
0 commit comments