public CffCustomer Build() { //System.Diagnostics.Debug.Write("CffCustomer[Build()]: CustNum passed by: "); //System.Diagnostics.StackTrace stackTrace = new System.Diagnostics.StackTrace(); //System.Diagnostics.Debug.WriteLine(stackTrace.GetFrame(1).GetMethod().Name); return(Build(reader.FromBigInteger("customerID"))); }
//private readonly CleverReader reader; //public CffClientBuilder(CleverReader reader) //{ // this.reader = reader; //} public CffClient Build() { return(new CffClient(reader.ToString("ClientName"), reader.FromBigInteger("ClientID"), reader.FromBigInteger("ClientNum"), reader.ToSmallInteger("FacilityType"), reader.ToString("CollectionsBankAccount") )); }
public ICffCustomer BuildNew() { return(BuildNew(readerNew.FromBigInteger("customerID"))); }