Exemplo n.º 1
0
        public void ToQuery_Parameters_002()
        {
            var target = new SQLinqInsertResult()
            {
                Table  = "test",
                Fields = new Dictionary <string, string>
                {
                    { "test", "test" }
                },
                Parameters = null
            };

            target.ToQuery();
        }
Exemplo n.º 2
0
        public void ToQuery_Fields_002()
        {
            var target = new SQLinqInsertResult()
            {
                Table      = "test",
                Fields     = null,
                Parameters = new Dictionary <string, object>
                {
                    { "test", 1 }
                }
            };

            target.ToQuery();
        }
Exemplo n.º 3
0
        public void ToQuery_Table_001()
        {
            var target = new SQLinqInsertResult()
            {
                Table  = string.Empty,
                Fields = new Dictionary <string, string>
                {
                    { "test", "test" }
                },
                Parameters = new Dictionary <string, object>
                {
                    { "test", 1 }
                }
            };

            target.ToQuery();
        }