public void EpochTimeFormatTest() { TestClass t = new TestClass(); t.Time = DateTime.SpecifyKind(new DateTime(2014, 1, 2), DateTimeKind.Utc); t.Id = 1; GXUpdateArgs args = GXUpdateArgs.Update(t); args.Settings.UseEpochTimeFormat = true; args.Add <TestClass>(t, x => x.Time); Assert.AreEqual("UPDATE TestClass SET `Time` = 1388620800 WHERE `ID` = 1", args.ToString()); }