コード例 #1
0
 public void Table_001()
 {
     var target = new SQLinqInsertResult();
     var expected = "test";
     target.Table = expected;
     var actual = target.Table;
     Assert.AreEqual(expected, actual);
 }
コード例 #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);
 }
コード例 #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);
 }
コード例 #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();
 }
コード例 #5
0
 public void ToQuery_Fields_002()
 {
     var target = new SQLinqInsertResult()
     {
         Table = "test",
         Fields = null,
         Parameters = new Dictionary<string, object>
         {
             { "test", 1 }
         }
     };
     target.ToQuery();
 }
コード例 #6
0
 public void Constructor()
 {
     var target = new SQLinqInsertResult();
 }
コード例 #7
0
 public void ToQuery_Parameters_002()
 {
     var target = new SQLinqInsertResult()
     {
         Table = "test",
         Fields = new Dictionary<string, string>
         {
             { "test", "test" }
         },
         Parameters = null
     };
     target.ToQuery();
 }