public virtual ApiBusinessEntityAddressResponseModel MapBOToModel( BOBusinessEntityAddress boBusinessEntityAddress) { var model = new ApiBusinessEntityAddressResponseModel(); model.SetProperties(boBusinessEntityAddress.BusinessEntityID, boBusinessEntityAddress.AddressID, boBusinessEntityAddress.AddressTypeID, boBusinessEntityAddress.ModifiedDate, boBusinessEntityAddress.Rowguid); return(model); }
public virtual BOBusinessEntityAddress MapEFToBO( BusinessEntityAddress ef) { var bo = new BOBusinessEntityAddress(); bo.SetProperties( ef.BusinessEntityID, ef.AddressID, ef.AddressTypeID, ef.ModifiedDate, ef.Rowguid); return(bo); }
public virtual BusinessEntityAddress MapBOToEF( BOBusinessEntityAddress bo) { BusinessEntityAddress efBusinessEntityAddress = new BusinessEntityAddress(); efBusinessEntityAddress.SetProperties( bo.AddressID, bo.AddressTypeID, bo.BusinessEntityID, bo.ModifiedDate, bo.Rowguid); return(efBusinessEntityAddress); }
public virtual BOBusinessEntityAddress MapModelToBO( int businessEntityID, ApiBusinessEntityAddressRequestModel model ) { BOBusinessEntityAddress boBusinessEntityAddress = new BOBusinessEntityAddress(); boBusinessEntityAddress.SetProperties( businessEntityID, model.AddressID, model.AddressTypeID, model.ModifiedDate, model.Rowguid); return(boBusinessEntityAddress); }