예제 #1
0
        public void WhenISetAssociateCustomerAssetToAnExistingCustomer()
        {
            List <string> columns = new List <string> {
                "fk_CustomerUID"
            };
            List <string> results = new List <string>();

            results = MySqlUtil.ExecuteMySQLQueryResult(MySqlConnectionString, CustomerServiceMySqlQueries.CustomerAssetDetails, columns);

            customerAssetServiceSupport.InvalidAssociateCustomerAssetModel.CustomerUID = results[0];
        }
예제 #2
0
        public void WhenISetDuplicateAssociateUserCustomer()
        {
            List <string> columns = new List <string> {
                "fk_CustomerUID", "fk_UserUID"
            };
            List <string> results = new List <string>();

            results = MySqlUtil.ExecuteMySQLQueryResult(MySqlConnectionString, CustomerServiceMySqlQueries.CustomerUserDetailsLimit, columns);

            customerUserServiceSupport.InvalidAssociateCustomerUserModel.CustomerUID = results[0];
            customerUserServiceSupport.InvalidAssociateCustomerUserModel.UserUID     = results[1];
        }
예제 #3
0
 public void WhenISetDuplicateCustomerUIDValueTo(string customerUID)
 {
     customerUID = MySqlUtil.ExecuteMySQLQueryResult(MySqlConnectionString, CustomerServiceMySqlQueries.CustomerDetails);
     customerServiceSupport.InvalidCreateCustomerModel.CustomerUID = Guid.Parse(customerUID).ToString();
 }