1919namespace RepoDb . SapHana . BulkOperations . IntegrationTests
2020{
2121 /// <summary>
22- /// A helper class for the integration testing.
22+ ///
2323 /// </summary>
2424 public static class Helper
2525 {
@@ -32,12 +32,12 @@ static Helper()
3232 #region Properties
3333
3434 /// <summary>
35- /// Gets the instance of <see cref="IStatementBuilder"/> object.
35+ ///
3636 /// </summary>
3737 public static IStatementBuilder StatementBuilder { get ; }
3838
3939 /// <summary>
40- /// Gets the value of the Epoc date.
40+ ///
4141 /// </summary>
4242 public static DateTime EpocDate { get ; }
4343
@@ -46,23 +46,19 @@ static Helper()
4646 #region Methods
4747
4848 /// <summary>
49- /// Returns the current UTC time truncated to microsecond precision - the maximum fractional-seconds
50- /// precision a MySQL <c>DATETIME(6)</c> column (used for <c>ColumnDateTime2</c>/
51- /// <c>ColumnDateTime2Mapped</c>) can store. <see cref="DateTime.UtcNow"/> carries tick (100ns)
52- /// precision; without truncating here, the sub-microsecond remainder would be silently dropped by
53- /// MySQL on write, and a direct <see cref="DateTime"/> equality assertion between the in-memory
54- /// value and the value read back from the database would fail.
49+ ///
5550 /// </summary>
51+ /// <returns></returns>
5652 private static DateTime UtcNowMicroseconds ( ) =>
5753 new DateTime ( DateTime . UtcNow . Ticks / 10 * 10 , DateTimeKind . Utc ) ;
5854
5955 /// <summary>
60- /// Asserts the properties equality of 2 types.
56+ ///
6157 /// </summary>
62- /// <typeparam name="T1">The type of first object. </typeparam>
63- /// <typeparam name="T2">The type of second object. </typeparam>
64- /// <param name="t1">The instance of first object. </param>
65- /// <param name="t2">The instance of second object. </param>
58+ /// <typeparam name="T1"></typeparam>
59+ /// <typeparam name="T2"></typeparam>
60+ /// <param name="t1"></param>
61+ /// <param name="t2"></param>
6662 public static void AssertPropertiesEquality < T1 , T2 > ( T1 t1 , T2 t2 )
6763 {
6864 var propertiesOfType1 = typeof ( T1 ) . GetProperties ( ) ;
@@ -101,11 +97,10 @@ public static void AssertPropertiesEquality<T1, T2>(T1 t1, T2 t2)
10197 }
10298
10399 /// <summary>
104- /// Asserts the members equality of 2 object and <see cref="ExpandoObject"/>.
100+ ///
105101 /// </summary>
106- /// <typeparam name="T">The type of first object.</typeparam>
107- /// <param name="obj">The instance of first object.</param>
108- /// <param name="expandoObj">The instance of second object.</param>
102+ /// <param name="obj"></param>
103+ /// <param name="expandoObj"></param>
109104 public static void AssertMembersEquality ( object obj , object expandoObj )
110105 {
111106 var dictionary = new ExpandoObject ( ) as IDictionary < string , object > ;
@@ -117,23 +112,21 @@ public static void AssertMembersEquality(object obj, object expandoObj)
117112 }
118113
119114 /// <summary>
120- /// Asserts the members equality of 2 object and <see cref="ExpandoObject"/>.
115+ ///
121116 /// </summary>
122- /// <typeparam name="T">The type of first object.</typeparam>
123- /// <param name="obj">The instance of first object.</param>
124- /// <param name="expandoObj">The instance of second object.</param>
117+ /// <param name="obj"></param>
118+ /// <param name="expandoObj"></param>
125119 public static void AssertMembersEquality ( object obj , ExpandoObject expandoObj )
126120 {
127121 var dictionary = expandoObj as IDictionary < string , object > ;
128122 AssertMembersEquality ( obj , dictionary ) ;
129123 }
130124
131125 /// <summary>
132- /// Asserts the members equality of 2 objects.
126+ ///
133127 /// </summary>
134- /// <typeparam name="T">The type of first object.</typeparam>
135- /// <param name="obj">The instance of first object.</param>
136- /// <param name="dictionary">The instance of second object.</param>
128+ /// <param name="obj"></param>
129+ /// <param name="dictionary"></param>
137130 public static void AssertMembersEquality ( object obj , IDictionary < string , object > dictionary )
138131 {
139132 var properties = obj . GetType ( ) . GetProperties ( ) ;
@@ -275,12 +268,7 @@ public static void UpdateBulkOperationIdentityTable(BulkOperationIdentityTable t
275268 #region BulkOperationNonIdentityTable
276269
277270 /// <summary>
278- /// Creates test rows for <see cref="BulkOperationNonIdentityTable"/> - a non-identity counterpart
279- /// of <see cref="BulkOperationIdentityTable"/> whose <c>Id</c> is a plain primary key. Unlike
280- /// <see cref="CreateBulkOperationIdentityTables"/> (whose <c>hasId</c> value is ignored by an
281- /// IDENTITY column on insert), the <c>Id</c> assigned here is guaranteed to be the value actually
282- /// stored - useful for tests that need to build a separate object (anonymous, expando, etc.) that
283- /// must match an already-inserted row by primary key.
271+ ///
284272 /// </summary>
285273 /// <param name="count"></param>
286274 /// <param name="hasId"></param>
0 commit comments