public void GetAllServiceDetailsTest() { Service target = new Service(); Service.ServiceRegisterDataTable expected = null; Service.ServiceRegisterDataTable actual; actual = target.GetAllServiceDetails(); Assert.AreEqual(expected, actual, "IGRSS.BusinessLogicLayer.Service.GetAllServiceDetails did not return the expected" + " value."); Assert.Inconclusive("Verify the correctness of this test method."); }
public void GetServiceDetailsByVendorNameTest() { Service target = new Service(); string VendorName = null; // TODO: Initialize to an appropriate value Service.ServiceRegisterDataTable expected = null; Service.ServiceRegisterDataTable actual; actual = target.GetServiceDetailsByVendorName(VendorName); Assert.AreEqual(expected, actual, "IGRSS.BusinessLogicLayer.Service.GetServiceDetailsByVendorName did not return the" + " expected value."); Assert.Inconclusive("Verify the correctness of this test method."); }
public virtual Service.ServiceRegisterDataTable GetServicedetailsByVendor(string VendorName) { this.Adapter.SelectCommand = this.CommandCollection[5]; if ((VendorName == null)) { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } else { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(VendorName)); } Service.ServiceRegisterDataTable dataTable = new Service.ServiceRegisterDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual Service.ServiceRegisterDataTable GetServiceDetailsByServiceNo(string ServiceNo) { this.Adapter.SelectCommand = this.CommandCollection[4]; if ((ServiceNo == null)) { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } else { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ServiceNo)); } Service.ServiceRegisterDataTable dataTable = new Service.ServiceRegisterDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual Service.ServiceRegisterDataTable GetServiceDetailsByServiceID(global::System.Nullable<global::System.Guid> ServiceID) { this.Adapter.SelectCommand = this.CommandCollection[3]; if ((ServiceID.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(ServiceID.Value)); } else { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } Service.ServiceRegisterDataTable dataTable = new Service.ServiceRegisterDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual Service.ServiceRegisterDataTable GetServiceDetailsByDate() { this.Adapter.SelectCommand = this.CommandCollection[2]; Service.ServiceRegisterDataTable dataTable = new Service.ServiceRegisterDataTable(); this.Adapter.Fill(dataTable); return dataTable; }