Exemple #1
0
 public List<String> StagewiseReport()
 {
     List<string> StagewiseList = new List<string>();
     DatabaseAccessForReporting ReportingObj = new DatabaseAccessForReporting();
     StagewiseList = ReportingObj.StageWiseReport();
     return StagewiseList;
 }
Exemple #2
0
 public List<ActionModel> treatmentHistory(string number)
 {
     List<ActionModel> customerData = new List<ActionModel>();
     DatabaseAccessForReporting ReportingObj = new DatabaseAccessForReporting();
     customerData = ReportingObj.searchTreatment(number);
     return (customerData);
 }
Exemple #3
0
 public List<SearchModel> reporting(string custName, string Zip)
 {
     List<SearchModel> customerData = new List<SearchModel>();
     DatabaseAccessForReporting ReportingObj = new DatabaseAccessForReporting();
     customerData=ReportingObj.Search(custName,Zip);
     return customerData;
 }
Exemple #4
0
 public List<SearchModel> Disconnected()
 {
     List<SearchModel> customerData = new List<SearchModel>();
     DatabaseAccessForReporting ReportingObj = new DatabaseAccessForReporting();
     customerData = ReportingObj.SearchByDisconnected();
     return customerData;
 }
Exemple #5
0
 public List<SearchModel> Delinquent()
 {
     List<SearchModel> customerData = new List<SearchModel>();
     DatabaseAccessForReporting ReportingObj = new DatabaseAccessForReporting();
     customerData = ReportingObj.SearchByDelinquent();
     return customerData;
 }
Exemple #6
0
 void validate()
 {
     try
     {
         OracleConnection conn = new OracleConnection();
         conn.ConnectionString = connString;
         conn.Open();
         DatabaseAccessForReporting obj = new DatabaseAccessForReporting();
         obj.EstablishConnection();
         OracleCommand command = new OracleCommand("Select role from finlogin where username= :username and password= :password", conn);
         command.Parameters.Add(":username", finUserName);
         command.Parameters.Add(":password", finPwd);
         finDept = command.ExecuteScalar().ToString();
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
 }
 void validate()
 {
     try
     {
         OracleConnection conn = new OracleConnection();
         conn.ConnectionString = connString;
         conn.Open();
         DatabaseAccessForReporting obj = new DatabaseAccessForReporting();
         obj.EstablishConnection();
         OracleCommand command = new OracleCommand("Select role from finlogin where username= :username and password= :password", conn);
         command.Parameters.Add(":username", finUserName);
         command.Parameters.Add(":password", finPwd);
         finDept = command.ExecuteScalar().ToString();
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
 }
Exemple #8
0
 public void populatingDb()
 {
     DatabaseAccessForReporting ReportingObj = new DatabaseAccessForReporting();
        ReportingObj.populatingCustomerDb();
 }