public ClientAndCustomerInformation(CffCustomerInformation cffCustomerInformation, CffClientInformation cffClientInformation, CffCustomerContact cffDefaultCustContact, CffMgtDetails cffMgtDetails) { this.cffCustomerInformation = cffCustomerInformation; this.cffClientInformation = cffClientInformation; this.cffDefaultCustContact = cffDefaultCustContact; this.cffMgtDetails = cffMgtDetails; }
public CffMgtDetails LoadCffMgtDetails() { CffMgtDetails cffMgtDetails = null; using (SqlConnection connection = CreateConnection()) { using (SqlDataReader reader = SqlHelper.ExecuteReader(connection, CommandType.StoredProcedure, "ManagementDetails_Load")) { CleverReader cleverReader = new CleverReader(reader); cleverReader.Read(); //Msarza - added cffMgtDetails = new CffMgtDetailsBuilder(cleverReader).Build(); } } return(cffMgtDetails); }