public void CanInsertArea()
        {
            var entityPropertyCollection = AreaProperties.Get();
            var command = KalibrateSqlGenerator.GenerateInsertCommand(entityPropertyCollection);

            ParseSql(command.CommandText);
            TestCommand(command);
        }
        public void CanInsertArea()
        {
            var propertyCollection = AreaProperties.Get();

            Test2(propertyCollection);
            var command = PriceNetSqlGenerator.GenerateInsertCommand(propertyCollection);

            ParseSql(command.CommandText);
            TestCommand(command);
        }
        public void CanUpdateArea()
        {
            var entityPropertyCollection = AreaProperties.Get();
            var properties = entityPropertyCollection.Properties.ToList();

            properties.RemoveAll(p => p.Name == "ImportCode" || p.Name == "Name");
            entityPropertyCollection.Properties = properties;
            //entityPropertyCollection.PrimaryEntityColumnName = "AreaID";
            entityPropertyCollection.PrimaryEntityTableName = "Area";
            entityPropertyCollection.PrimaryEntityIds       = new int[] { 1, 2 };
            Test(entityPropertyCollection);
            entityPropertyCollection.Properties.First().Value = "Amended";
            var command = PriceNetSqlGenerator.GenerateUpdateCommand(entityPropertyCollection);

            ParseSql(command.CommandText);
            TestCommand(command);
        }