Bineesh Viswanath

Bineesh Viswanath

  • 1.3k
  • 391
  • 39k

Interface variable in Push notification c# MVC

Jan 11 2020 6:01 AM
Hello friends,
 
I am wokring on a push notification function in my MVC project. All push notification is working fine.
 
still I need some help from your side. Please find the code below:-
  1. SqlDependency dependency = new SqlDependency(command);  
  2. dependency.OnChange += new OnChangeEventHandler(dependency_OnChange);  
  3. if (connection.State == ConnectionState.Closed)  
  4. connection.Open();  
  5. SqlDataReader reader = command.ExecuteReader();  
  6. var listCus = reader.Cast<IDataRecord>()  
  7. .Select(x => new  
  8. {  
  9. Id = (string)x["VEHICLENUMBER"],  
  10. CusId = (string)x["CUSTOMERNAME"],  
  11. CusName = (string)x["PHONE_NUMBER"],  
  12. }).ToList();  
you can see the variables highilighted in yellow color. I need to know that where this variables come from. I actually got this code from a web link.
 
I cannot naivigate to its declaration part. defined class. So kindly help me

Answers (2)