public virtual BOStore MapEFToBO( Store ef) { var bo = new BOStore(); bo.SetProperties( ef.BusinessEntityID, ef.Demographic, ef.ModifiedDate, ef.Name, ef.Rowguid, ef.SalesPersonID); return(bo); }
public virtual BOStore MapModelToBO( int businessEntityID, ApiStoreRequestModel model ) { BOStore boStore = new BOStore(); boStore.SetProperties( businessEntityID, model.Demographic, model.ModifiedDate, model.Name, model.Rowguid, model.SalesPersonID); return(boStore); }