daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  public class ProductFromSql
  2.     {
  3.         public string idEshop { get; set; }
  4.         public string active { get; set; }
  5.  
  6.         public string code { get; set; }
  7.         public string amount { get; set; }
  8.         public string description { get; set; }
  9.  
  10.     }
  11.  
  12.  
  13.     public class ProductFromApi
  14.     {
  15.         public string id { get; set; }
  16.         public string active { get; set; }
  17.  
  18.         public string code { get; set; }
  19.         public string amount { get; set; }
  20.         public string description { get; set; }
  21.         public string createDate { get; set; }
  22.         public string updated_at { get; set; }
  23.         public string  man_code  { get; set; }
  24.  
  25.  
  26. }
  27.  
  28. ...public static void NotEquals()
  29.     {
  30.  
  31.         var listofGenres = new List<string> { "action", "comedy" };
  32.  
  33.         var productFromSqls = new List<ProductFromSql> {new ProductFromSql {idEshop="1", active="0",code="2dw",amount="22",description="testowy opis"},
  34.                 new ProductFromSql {idEshop="2", active="1",code="kk34",amount="11",description="testowy opis 2"},
  35.                 new ProductFromSql {idEshop="3", active="0",code="2323",amount="22",description="testowy opis 3"} };
  36.  
  37.  
  38.  
  39.         var productFromApis = new List<ProductFromApi> {new ProductFromApi {id="1", active="1",code="2dw",amount="22",description="testowy opis",createDate="20180312",updated_at="20170419",man_code="AA2"},
  40.                 new ProductFromApi {id="2", active="1",code="kk34",amount="33",description="testowy opis 2",createDate="20180322",updated_at="20170412",man_code="AA4"},
  41.                 new ProductFromApi {id="3", active="0",code="2323",amount="22",description="testowy opis 3",createDate="20180311",updated_at="20170402",man_code="BA4"}};
  42.            
  43.  
  44.     }
  45. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top