Exemplo n.º 1
0
 public void Table_001()
 {
     var target = new SQLinqInsertResult();
     var expected = "test";
     target.Table = expected;
     var actual = target.Table;
     Assert.AreEqual(expected, actual);
 }
Exemplo n.º 2
0
 public void Parameters_001()
 {
     var target = new SQLinqInsertResult();
     var expected = new Dictionary<string, object>();
     target.Parameters = expected;
     var actual = target.Parameters;
     Assert.AreEqual(expected, actual);
 }
Exemplo n.º 3
0
 public void Fields_001()
 {
     var target = new SQLinqInsertResult();
     var expected = new Dictionary<string, string>();
     target.Fields = expected;
     var actual = target.Fields;
     Assert.AreEqual(expected, actual);
 }
Exemplo n.º 4
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();
 }
Exemplo n.º 5
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.º 6
0
 public void Constructor()
 {
     var target = new SQLinqInsertResult();
 }
Exemplo n.º 7
0
 public void ToQuery_Parameters_002()
 {
     var target = new SQLinqInsertResult()
     {
         Table = "test",
         Fields = new Dictionary<string, string>
         {
             { "test", "test" }
         },
         Parameters = null
     };
     target.ToQuery();
 }