public void It_should_be_avialable_to_store_BigInteger_instance()
        {
            dynamic val = new TypeWithBigIntegerAndComples
            {
                BigInteger = new BigInteger(123123123123123123),
                TimeSpan   = TimeSpan.FromMinutes(10),
                Complex    = new Complex(2.2, 2.1),
                Guid       = Guid.NewGuid()
            };

            OdbFactory.Delete("dynamic.ndb");

            using (var odb = OdbFactory.Open("dynamic.ndb"))
            {
                odb.Store(val);
            }

            using (var odb = OdbFactory.Open("dynamic.ndb"))
            {
                var objectSet = odb.Query <TypeWithBigIntegerAndComples>().Execute <object>();
                var first     = objectSet.GetFirst();

                Assert.That(first, Is.EqualTo(val));
            }
        }
        public void It_should_be_avialable_to_store_BigInteger_instance()
        {
            dynamic val = new TypeWithBigIntegerAndComples
                              {
                                  BigInteger = new BigInteger(123123123123123123),
                                  TimeSpan = TimeSpan.FromMinutes(10),
                                  Complex = new Complex(2.2, 2.1),
                                  Guid = Guid.NewGuid()
                              };

            OdbFactory.Delete("dynamic.ndb");

            using (var odb = OdbFactory.Open("dynamic.ndb"))
            {
                odb.Store(val);
            }

            using (var odb = OdbFactory.Open("dynamic.ndb"))
            {
                var objectSet = odb.Query<TypeWithBigIntegerAndComples>().Execute<object>();
                var first = objectSet.GetFirst();

                Assert.That(first, Is.EqualTo(val));
            }
        }
 protected bool Equals(TypeWithBigIntegerAndComples other)
 {
     return(BigInteger.Equals(other.BigInteger) && Complex.Equals(other.Complex) && TimeSpan.Equals(other.TimeSpan) && Guid.Equals(other.Guid));
 }
 protected bool Equals(TypeWithBigIntegerAndComples other)
 {
     return BigInteger.Equals(other.BigInteger) && Complex.Equals(other.Complex) && TimeSpan.Equals(other.TimeSpan) && Guid.Equals(other.Guid);
 }