public void OverridesTableName()
        {
            var cust = new CustomisedCustomer();

            using (new ContextScope()) {
                cust.Save();
            }

            using(new ContextScope()) {
                cust = CustomisedCustomer.FindById(cust.CustomerId);
                cust.ShouldNotBeNull();
            }
        }
        public void OveridesColumnName()
        {
            var cust = new CustomisedCustomer() { Name = "Jeremy" };

            using (new ContextScope()) {
                cust.Save();
            }

            using (new ContextScope()) {
                cust = CustomisedCustomer.FindById(cust.CustomerId);
                cust.Name.ShouldEqual("Jeremy");
            }
        }
        public void IgnoresProperty()
        {
            var cust = new CustomisedCustomer() { NotMapped = "foo" };

            using (new ContextScope()) {
                cust.Save();
            }

            using (new ContextScope()) {
                cust = CustomisedCustomer.FindById(cust.CustomerId);
                cust.NotMapped.ShouldBeNull();
            }
        }
        public void OverridesTableName()
        {
            var cust = new CustomisedCustomer();

            using (new ContextScope()) {
                cust.Save();
            }

            using (new ContextScope()) {
                cust = CustomisedCustomer.FindById(cust.CustomerId);
                cust.ShouldNotBeNull();
            }
        }
        public void IgnoresProperty()
        {
            var cust = new CustomisedCustomer()
            {
                NotMapped = "foo"
            };

            using (new ContextScope()) {
                cust.Save();
            }

            using (new ContextScope()) {
                cust = CustomisedCustomer.FindById(cust.CustomerId);
                cust.NotMapped.ShouldBeNull();
            }
        }
        public void OveridesColumnName()
        {
            var cust = new CustomisedCustomer()
            {
                Name = "Jeremy"
            };

            using (new ContextScope()) {
                cust.Save();
            }

            using (new ContextScope()) {
                cust = CustomisedCustomer.FindById(cust.CustomerId);
                cust.Name.ShouldEqual("Jeremy");
            }
        }